Skip to content

Commit

Permalink
Add XSL template for stripping data pulled from Caslin Z39.50 server
Browse files Browse the repository at this point in the history
  • Loading branch information
xmorave2 committed Mar 1, 2016
1 parent a708cc7 commit 91667a6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions etc/xslt/ModifyZ3950pulledRecord.xsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:marc="http://www.loc.gov/MARC21/slim"
version="1.0">

<xsl:output method="xml" indent="yes" encoding="UTF-8"/>
<xsl:strip-space elements="*"/>

<xsl:template match="marc:datafield[@tag=910]"/>

<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>

</xsl:stylesheet>

0 comments on commit 91667a6

Please sign in to comment.