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:
e036e32
)
Add support for CF data element "id".
author
Mike Taylor
<mike@indexdata.com>
Tue, 18 Oct 2011 08:26:43 +0000
(09:26 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 18 Oct 2011 08:26:43 +0000
(09:26 +0100)
Gets translated into pz:metadata[@type="id"].
May be needed for bug #4713, persistent identifiers.
(And will be useful even if we don't do that for EBSCO.)
etc/cf.xsl
patch
|
blob
|
history
diff --git
a/etc/cf.xsl
b/etc/cf.xsl
index
1c3c053
..
ec4615f
100644
(file)
--- a/
etc/cf.xsl
+++ b/
etc/cf.xsl
@@
-186,6
+186,12
@@
</pz:metadata>
</xsl:template>
+ <xsl:template match="id">
+ <pz:metadata type="id">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
<xsl:template match="text()"/>
</xsl:stylesheet>