Skip to content
Snippets Groups Projects
Commit 5eab7e5c authored by Marcus Baumgarten's avatar Marcus Baumgarten
Browse files

update

parent e77618b7
No related branches found
No related tags found
No related merge requests found
...@@ -197,9 +197,30 @@ index/term als Register ausbilden ...@@ -197,9 +197,30 @@ index/term als Register ausbilden
</xsl:template> </xsl:template>
<!-- Bildlinks -->
<!--<xsl:template match="tei:pb">
<xsl:variable name="image" select="@facs"/>
<div class="pagebreak">
<xsl:attribute name="style">font-style:normal;</xsl:attribute>
<xsl:text> [</xsl:text>
<a name="{@facs}" href="https://iiif.hab.de/object/mss_957-helmst/image/image_{substring-after(@facs, '=')}/full/800,/0/default.jpg" target="display2">
<xsl:choose>
<xsl:when test="@n">
<xsl:value-of select="@n"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="substring-after(substring-after(@facs,'_'),'_')"/>
</xsl:otherwise>
</xsl:choose>
</a>
<xsl:text>] </xsl:text>
</div>
</xsl:template>-->
<!-- pysical pages --> <!-- pysical pages -->
<xsl:template match="tei:pb"> <xsl:template match="tei:pb">
<xsl:variable name="page" select="@facs"/> <xsl:variable name="page" select="@source"/>
<div class="pagebreak"> <div class="pagebreak">
<xsl:attribute name="style">font-style:normal;</xsl:attribute> <xsl:attribute name="style">font-style:normal;</xsl:attribute>
<xsl:text> [</xsl:text> <xsl:text> [</xsl:text>
...@@ -208,8 +229,8 @@ index/term als Register ausbilden ...@@ -208,8 +229,8 @@ index/term als Register ausbilden
<xsl:value-of select="substring(@facs,2)"/> <xsl:value-of select="substring(@facs,2)"/>
</xsl:attribute> </xsl:attribute>
<xsl:attribute name="href"> <xsl:attribute name="href">
<xsl:text>http://dfg-viewer.de/show/?set[mets]=http%3A%2F%2Foai.hab.de%2F%3Fverb%3DGetRecord%26metadataPrefix%3Dmets%26identifier%3Doai:diglib.hab.de:ppn_498023893&amp;tx_dlf[page]=</xsl:text> <xsl:text>http://dfg-viewer.de/show/?set[mets]=http%3A%2F%2Foai.hab.de%2F%3Fverb%3DGetRecord%26metadataPrefix%3Dmets%26identifier%3Doai:diglib.hab.de:ppn_561263647&amp;tx_dlf[page]=</xsl:text>
<xsl:value-of select="(substring-after($page, 'bb-888-4f-1/'))"/> <xsl:value-of select="(substring-after($page, 'http://diglib.hab.de/drucke/229-2-quod-5/start.htm?image='))"/>
</xsl:attribute> </xsl:attribute>
<xsl:attribute name="target"> <xsl:attribute name="target">
<xsl:text>display2</xsl:text> <xsl:text>display2</xsl:text>
...@@ -219,7 +240,7 @@ index/term als Register ausbilden ...@@ -219,7 +240,7 @@ index/term als Register ausbilden
<xsl:value-of select="@n"/> <xsl:value-of select="@n"/>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:value-of select="substring-after(substring-after(substring(@facs,2),'_'),'_')"/> <xsl:value-of select="substring-after(substring-after(substring(@source,2),'_'),'_')"/>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
...@@ -499,6 +520,17 @@ index/term als Register ausbilden ...@@ -499,6 +520,17 @@ index/term als Register ausbilden
<xsl:apply-templates/> <xsl:apply-templates/>
</span> </span>
</xsl:template> </xsl:template>
<xsl:template match="tei:list">
<xsl:element name="ul">
<xsl:attribute name="class">liste</xsl:attribute>
<xsl:for-each select="tei:item">
<xsl:element name="li">
<xsl:apply-templates/>
</xsl:element>
</xsl:for-each>
</xsl:element>
</xsl:template>
<xsl:template match="tei:l"> <xsl:template match="tei:l">
......
This diff is collapsed.
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