Blame view

ingester/xslt/degois-map.xslt 1.38 KB
9d00822b4   Paulo Gra├ža   Initial commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  <?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>