projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d9560c
)
cf.xsl forwards flat affiliation structure PAZ-992
author
Niels Erik G. Nielsen
<nielserik@indexdata.com>
Thu, 19 Mar 2015 21:17:46 +0000
(22:17 +0100)
committer
Niels Erik G. Nielsen
<nielserik@indexdata.com>
Thu, 19 Mar 2015 21:17:46 +0000
(22:17 +0100)
etc/xsl/cf.xsl
patch
|
blob
|
history
diff --git
a/etc/xsl/cf.xsl
b/etc/xsl/cf.xsl
index
5f0c4ea
..
f0d6455
100644
(file)
--- a/
etc/xsl/cf.xsl
+++ b/
etc/xsl/cf.xsl
@@
-123,6
+123,15
@@
</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">