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:
de103c0
)
Add fallback template
author
Jakub Skoczen
<jakub@indexdata.dk>
Thu, 10 Nov 2011 13:09:10 +0000
(14:09 +0100)
committer
Jakub Skoczen
<jakub@indexdata.dk>
Thu, 10 Nov 2011 13:09:10 +0000
(14:09 +0100)
Match any CF element that doesn't fit the previous rules to
a pazpar2 element of the same name
etc/cf.xsl
patch
|
blob
|
history
diff --git
a/etc/cf.xsl
b/etc/cf.xsl
index
49eb5e0
..
4742628
100644
(file)
--- a/
etc/cf.xsl
+++ b/
etc/cf.xsl
@@
-284,6
+284,12
@@
</pz:metadata>
</xsl:template>
+ <xsl:template match="*" >
+ <pz:metadata type="{local-name()}">
+ <xsl:value-of select="."/>
+ </pz:metadata>
+ </xsl:template>
+
<xsl:template match="text()"/>
</xsl:stylesheet>