Version 2.0.59
[idzebra-moved-to-github.git] / test / xslt / dom-brief.xsl
1 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
2   xmlns:m="http://www.loc.gov/MARC21/slim"
3   xmlns:z="http://indexdata.com/zebra-2.0"
4   exclude-result-prefixes="m z"
5   version="1.0">
6   <xsl:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>
7   
8   <xsl:template match="text()"/>
9
10   <xsl:template match="m:datafield[@tag='245']">
11     <title>
12       <xsl:value-of select="m:subfield[@code='a']"/>
13     </title>
14   </xsl:template>
15
16 </xsl:stylesheet>