degois-map.xslt 1.38 KB
<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet
        xmlns:xml="http://www.w3.org/XML/1998/namespace"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        version="1.0">

    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
    <xsl:template match="/">

        <dublin_core schema="degois">
            <xsl:for-each select="/crossref/firstPage">        
                <dcvalue element="publication" qualifier="firstPage"><xsl:value-of select="text()"/></dcvalue>
            </xsl:for-each>
            <xsl:for-each select="/crossref/lastPage">        
                <dcvalue element="publication" qualifier="lastPage"><xsl:value-of select="text()"/></dcvalue>
            </xsl:for-each>
            <xsl:for-each select="/crossref/container-titles/container-title">        
                <dcvalue element="publication" qualifier="title"><xsl:value-of select="text()"/></dcvalue>
            </xsl:for-each>
            <xsl:for-each select="/crossref/volume">        
                <dcvalue element="publication" qualifier="volume"><xsl:value-of select="text()"/></dcvalue>
            </xsl:for-each>
            <xsl:for-each select="/crossref/issue">        
                <dcvalue element="publication" qualifier="issue"><xsl:value-of select="text()"/></dcvalue>
            </xsl:for-each>
        </dublin_core>

    </xsl:template>
</xsl:stylesheet>