Added 'termlist' to config file. Notes.
[pazpar2-moved-to-github.git] / etc / default.xsl
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet
3     version="1.0"
4     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5     xmlns:pz="http://www.indexdata.com/pazpar2/1.0">
6
7   <xsl:template match="*">
8     <pz:record>
9       <xsl:match-templates/>
10     </pz:record>
11   </xsl:template>
12
13   <xsl:template match="datafield[@tag='650']/subfield[@code='a']">
14     <pz:facet type="subject">
15       <xsl:value-of select="."/>
16     </pz:facet>
17   </xsl:template>
18   
19 </xsl:stylesheet>
20