From 19ea6f374f770f75e598ff075dcf28cf048e0c36 Mon Sep 17 00:00:00 2001 From: David Maus <maus@hab.de> Date: Mon, 16 Oct 2017 11:56:47 +0200 Subject: [PATCH] Repertorium: Bibliographische Verweise in Export --- resources/xproc/repertorium/oais-tei.xsl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/resources/xproc/repertorium/oais-tei.xsl b/resources/xproc/repertorium/oais-tei.xsl index 2f2ced4a..5d20b3a7 100644 --- a/resources/xproc/repertorium/oais-tei.xsl +++ b/resources/xproc/repertorium/oais-tei.xsl @@ -28,6 +28,24 @@ <xsl:value-of select="."/> </xsl:template> + <xsl:template match="ref[@type = 'opac']"> + <xsl:copy> + <xsl:attribute name="target" select="concat('https://opac.lbs-braunschweig.gbv.de/DB=2/PPN?PPN=', @cRef)"/> + <xsl:apply-templates/> + </xsl:copy> + </xsl:template> + + <xsl:template match="ref[@type = 'gbv']"> + <xsl:copy> + <xsl:attribute name="target" select="concat('https://gso.gbv.de/DB=2.1/PPNSET?PPN=', @cRef)"/> + <xsl:apply-templates/> + </xsl:copy> + </xsl:template> + + <xsl:template match="rs[@type = 'shelfmark']"> + <xsl:apply-templates/> + </xsl:template> + <xsl:template match="@class[parent::msItem]"> <xsl:attribute name="class" select="concat('http://selbstzeugnisse.hab.de/repertorium/vokabular#', substring-after(., '#'))"/> </xsl:template> -- GitLab