Skip to content

Instantly share code, notes, and snippets.

@black23
Last active August 29, 2015 14:22
Show Gist options
  • Save black23/997a53e1b47d9f41d163 to your computer and use it in GitHub Desktop.
Save black23/997a53e1b47d9f41d163 to your computer and use it in GitHub Desktop.
XSLT šablona pro Koha OAI
<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="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="marc:subfield[@code=9]"/>
<xsl:template match="marc:datafield[@tag=942]"/>
</xsl:stylesheet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment