From dd270fdefa829d591999a57081930d32686f94bb Mon Sep 17 00:00:00 2001 From: Marc Cromme Date: Thu, 8 Jun 2006 09:35:33 +0000 Subject: [PATCH] added MADS stylesheet --- examples/marcxml/MARC21slim2MADS.xsl | 1048 ++++++++++++++++++++++++++++++++ examples/marcxml/filter_alvis_conf.xml | 5 +- 2 files changed, 1051 insertions(+), 2 deletions(-) create mode 100644 examples/marcxml/MARC21slim2MADS.xsl diff --git a/examples/marcxml/MARC21slim2MADS.xsl b/examples/marcxml/MARC21slim2MADS.xsl new file mode 100644 index 0000000..e89f586 --- /dev/null +++ b/examples/marcxml/MARC21slim2MADS.xsl @@ -0,0 +1,1048 @@ + + + + + + + + + + + + + + + + naf + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + n + n + fghkdlmor + + + + + p + p + fghkdlmor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + cdn + + + + + + + + + + + aq + + + + + + + + + + + + acdenq + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bc + + + + + + + + + + + + + + + + + + + + + + + yes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:variable name="str"> + <xsl:for-each select="marc:subfield"> + <xsl:if test="(contains('tfghklmors',@code) )"> + <xsl:value-of select="text()"/> + <xsl:text> </xsl:text> + </xsl:if> + </xsl:for-each> + </xsl:variable> + + <xsl:call-template name="chopPunctuation"> + <xsl:with-param name="chopString"> + <xsl:value-of select="substring($str,1,string-length($str)-1)"/> + </xsl:with-param> + </xsl:call-template> + + + + + + + + + + + <xsl:variable name="str"> + <xsl:for-each select="marc:subfield"> + <xsl:if test="(contains('adfghklmors',@code) )"> + <xsl:value-of select="text()"/> + <xsl:text> </xsl:text> + </xsl:if> + </xsl:for-each> + </xsl:variable> + + <xsl:call-template name="chopPunctuation"> + <xsl:with-param name="chopString"> + <xsl:value-of select="substring($str,1,string-length($str)-1)"/> + </xsl:with-param> + </xsl:call-template> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ab + + + + + + + + + + + + ab + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + nonpublic + + + source + + + notFound + + + history + + + subject example + + + deleted heading information + + + application history + + + + + + + + + + + ab + + + + + ai + + + + + + + + + + + + + + z3 + + + + + + + + + + + + earlier + + + later + + + parentOrg + + + broader + + + narrower + + + other + + + + other + + + + equivalent + + + + + + + + + + acronym + + + other + + + + + other + + + + + + + + + naf + + + lcsh + + + lacnaf + + + lcsh + + + cash + + + naf + + + lcsh + + + lacnaf + + + cash + + + lcshcl + + + nlmnaf + + + nalnaf + + + aat + + + sears + + + rvm + + + + + + naf + + + lcsh + + + lacnaf + + + lcsh + + + lcsh + + + mesh + + + nal + + + cash + + + naf + + + lcsh + + + lacnaf + + + cash + + + + lcsh + + + + naf + + + lacnaf + + + lcsh + + + cash + + + lcshcl + + + nlmnaf + + + nalnaf + + + rvm + + + + + + + + lacnaf + + + naf + + + lcsh + + + mesh + + + nal + + + cash + + + + + + + + + + \ No newline at end of file diff --git a/examples/marcxml/filter_alvis_conf.xml b/examples/marcxml/filter_alvis_conf.xml index dcc9233..8363363 100644 --- a/examples/marcxml/filter_alvis_conf.xml +++ b/examples/marcxml/filter_alvis_conf.xml @@ -1,9 +1,10 @@ - + - + + -- 1.7.10.4