diff --git a/resources/xproc/repertorium/oais-tei.xsl b/resources/xproc/repertorium/oais-tei.xsl index 2f2ced4ab3db58316c2098f9da2d491c5eac90f0..5d20b3a799176b6da589dda102f81d26b737af17 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>