Bug 21971: TestBuilder::build_sample_item
[koha.git] / t / db_dependent / XSLT_Handler / test01.xsl
1 <xsl:stylesheet version="1.0"
2     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3     xmlns:marc="http://www.loc.gov/MARC21/slim"
4 >
5   <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
6
7   <xsl:template match="record|marc:record">
8       <record>
9       <xsl:apply-templates/>
10       <datafield tag="990" ind1='' ind2=''>
11         <subfield code="a">
12           <xsl:text>I saw you</xsl:text>
13         </subfield>
14       </datafield>
15       </record>
16   </xsl:template>
17
18   <xsl:template match="node()">
19     <xsl:copy select=".">
20       <xsl:copy-of select="@*"/>
21       <xsl:apply-templates/>
22     </xsl:copy>
23   </xsl:template>
24 </xsl:stylesheet>