Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
authorJakub Skoczen <jakub@indexdata.dk>
Fri, 17 Apr 2015 11:22:09 +0000 (13:22 +0200)
committerJakub Skoczen <jakub@indexdata.dk>
Fri, 17 Apr 2015 11:22:09 +0000 (13:22 +0200)
1  2 
etc/xsl/cf.xsl

diff --cc etc/xsl/cf.xsl
      </pz:metadata>
    </xsl:template>
  
+   <xsl:template match="affiliation">
+     <pz:metadata type="affiliation-person" empty="PAZPAR2_NULL_VALUE">
+       <xsl:value-of select="person"/>
+     </pz:metadata>
+     <pz:metadata type="affiliation-institution" empty="PAZPAR2_NULL_VALUE">
+       <xsl:value-of select="institution"/>
+     </pz:metadata>
+   </xsl:template>
 -  <!-- put both page and pages-number for page -->
 -  <xsl:template match="page">
 -    <pz:metadata type="pages-number">
 -      <xsl:value-of select="."/>
 -    </pz:metadata>
 -    <pz:metadata type="page">
 -      <xsl:value-of select="."/>
 -    </pz:metadata>
 -  </xsl:template>
 -  <!-- leave endpage as is -->
 -
    <xsl:template match="*" >
      <pz:metadata type="{local-name()}">
        <xsl:value-of select="."/>