|
Line 0
Link Here
|
|
|
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="/"> |
| 8 |
<xsl:apply-templates/> |
| 9 |
</xsl:template> |
| 10 |
|
| 11 |
<xsl:template match="marc:record"> |
| 12 |
<marc:record> |
| 13 |
<xsl:apply-templates/> |
| 14 |
<marc:datafield tag="901" ind1='' ind2=''> |
| 15 |
<marc:subfield code="a"> |
| 16 |
<xsl:text>Hi, I am 901</xsl:text> |
| 17 |
</marc:subfield> |
| 18 |
</marc:datafield> |
| 19 |
</marc:record> |
| 20 |
</xsl:template> |
| 21 |
|
| 22 |
<xsl:template match="node()"> |
| 23 |
<xsl:copy select="."> |
| 24 |
<xsl:copy-of select="@*"/> |
| 25 |
<xsl:apply-templates/> |
| 26 |
</xsl:copy> |
| 27 |
</xsl:template> |
| 28 |
</xsl:stylesheet> |