Skip to content
Snippets Groups Projects
Commit 1839fa64 authored by David Maus's avatar David Maus
Browse files

Handschriftenbeschreibung in Download der Edition mit aufnehmen

parent d90a09cd
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
<xsl:element name="front" namespace="http://www.tei-c.org/ns/1.0"> <xsl:element name="front" namespace="http://www.tei-c.org/ns/1.0">
<xsl:apply-templates select="document('../einleitung.xml', /)/tei:TEI/tei:text/tei:body/*"/> <xsl:apply-templates select="document('../einleitung.xml', /)/tei:TEI/tei:text/tei:body/*"/>
<xsl:apply-templates select="document('../richtlinien.xml', /)/tei:TEI/tei:text/tei:body/*"/> <xsl:apply-templates select="document('../richtlinien.xml', /)/tei:TEI/tei:text/tei:body/*"/>
<xsl:apply-templates select="document('../beschreibung.xml', /)/tei:TEI/tei:text/tei:body/*"/>
</xsl:element> </xsl:element>
<xsl:copy> <xsl:copy>
<xsl:apply-templates select="node() | @*"/> <xsl:apply-templates select="node() | @*"/>
...@@ -46,6 +47,18 @@ ...@@ -46,6 +47,18 @@
<xsl:attribute name="rend"><xsl:value-of select="concat('place(', ., ')')"/></xsl:attribute> <xsl:attribute name="rend"><xsl:value-of select="concat('place(', ., ')')"/></xsl:attribute>
</xsl:template> </xsl:template>
<xsl:template match="tei:ref[@type = 'opac']">
<xsl:copy>
<xsl:attribute name="type">opac</xsl:attribute>
<xsl:attribute name="target"><xsl:value-of select="concat('http://opac.lbs-braunschweig.gbv.de/DB=2/PPN?PPN=', @cRef)"/></xsl:attribute>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
<xsl:template match="body">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="@facs[starts-with(., 'http://selbstzeugnisse.hab.de/edition/images/')]"> <xsl:template match="@facs[starts-with(., 'http://selbstzeugnisse.hab.de/edition/images/')]">
<xsl:attribute name="facs"> <xsl:attribute name="facs">
<xsl:variable name="imageNr" select="substring-before(substring-after(., 'http://selbstzeugnisse.hab.de/edition/images/'), '.jpg')"/> <xsl:variable name="imageNr" select="substring-before(substring-after(., 'http://selbstzeugnisse.hab.de/edition/images/'), '.jpg')"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment