alvis marcxml filter records and example config started
[idzebra-moved-to-github.git] / examples / marcxml / MARC21slim2INDEX.xsl
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
3                 xmlns:z="http://indexdata.dk/zebra/xslt/1" 
4                 xmlns:a="http://alvis.info/enriched/" 
5                 xmlns:m="http://www.loc.gov/MARC21/slim"
6                 version="1.0">
7
8   <xsl:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>
9   <!-- <xsl:include href="xpath.xsl"/> -->
10   
11
12   <!-- disable all default text node output -->
13   <xsl:template match="text()"/>
14
15
16   <!-- match on marcxml record -->
17   <xsl:template match="//m:record">
18     <z:record>
19       <!-- <xsl:attribute name="id"></xsl:attribute> -->
20       <xsl:attribute name="type">update</xsl:attribute>
21       <!-- <xsl:attribute name="rank"></xsl:attribute> -->
22
23       RECORD
24
25     </z:record>
26   </xsl:template>
27
28
29 </xsl:stylesheet>