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

Vokabular als XML-Dokument publizieren

parent a5d802e6
No related branches found
No related tags found
No related merge requests found
......@@ -41,8 +41,9 @@ $app->get('/repertorium/eintrag/{metsId}', 'controller.dynamicpage:handle')
$app->get('/repertorium/liste', 'controller.repertorium.list:handle')
->bind('repertorium.liste');
$app->get('/repertorium/orte', 'controller.staticpage:handle')
->bind('repertorium.orte');
$app->get('/repertorium/vokabular', 'controller.staticpage:handle')
->bind('repertorium.vokabular');
$app->get('/bibliographie', 'controller.staticpage:handle')
->bind('bibliographie');
......
<?xml-stylesheet type="text/xsl" href="xslt/default.xsl"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title> Selbstzeugnisse der Frühen Neuzeit in der Herzog August Bibliothek </title>
<title>Selbstzeugnisse der Frühen Neuzeit in der Herzog August Bibliothek – Register</title>
<principal ref="https://doi.org/10.1515/editio-2016-0009">Inga Hanna Ralle</principal>
<funder ref="http://d-nb.info/gnd/5055588-1">Niedersächsisches Ministerium für Wissenschaft
und Kultur</funder>
<respStmt>
<name>Jacqueline Krone</name>
<resp>Metadaten, Recherche und Korrektur</resp>
</respStmt>
<respStmt>
<name ref="http://orcid.org/0000-0001-9292-5673">David Maus</name>
<resp>Technische Konzeption und Begleitung</resp>
</respStmt>
</titleStmt>
<publicationStmt>
<publisher>
<name ref="http://d-nb.info/gnd/8989-8">Herzog August Bibliothek
Wolfenbüttel</name>
<name ref="http://d-nb.info/gnd/8989-8">Herzog August Bibliothek Wolfenbüttel</name>
</publisher>
<pubPlace>
<name>Wolfenbüttel, Germany</name>
</pubPlace>
<pubPlace>Wolfenbüttel</pubPlace>
<date when="2017">2017</date>
<availability>
<licence target="https://creativecommons.org/publicdomain/zero/1.0/">CC0</licence>
</availability>
</publicationStmt>
<sourceDesc>
<p>born digital</p>
......
......@@ -190,7 +190,7 @@
<fptr FILEID="repertorium.liste.xml.twig"/>
<xi:include href="daten/repertorium/mets.xml" xpointer="divs"/>
</div>
<div ID="repertorium.orte">
<div ID="repertorium.vokabular">
<fptr FILEID="repertorium.register.xml"/>
</div>
</div>
......@@ -378,6 +378,10 @@
<interfaceDef LOCTYPE="URL" xlink:href="http://www.w3.org/TR/xslt"/>
<mechanism LOCTYPE="URL" xlink:href="xslt/repertorium/eintrag.xsl"/>
</behavior>
<behavior STRUCTID="repertorium.vokabular">
<interfaceDef LOCTYPE="URL" xlink:href="http://www.w3.org/TR/xslt"/>
<mechanism LOCTYPE="URL" xlink:href="xslt/repertorium/vokabular.xsl"/>
</behavior>
<behavior STRUCTID="edition">
<interfaceDef LOCTYPE="URL" xlink:href="http://www.w3.org/TR/xslt"/>
<mechanism LOCTYPE="URL" xlink:href="xslt/default.xsl"/>
......
<xsl:transform version="1.0"
xmlns:tei="http://www.tei-c.org/ns/1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="utf-8" indent="yes" media-type="application/xml"/>
<xsl:template match="node() | @*">
<xsl:copy>
<xsl:apply-templates select="node() | @*"/>
</xsl:copy>
</xsl:template>
<xsl:template match="tei:title[parent::tei:titleStmt]">
<xsl:copy>Vokabular</xsl:copy>
</xsl:template>
<xsl:template match="tei:classDecl">
<xsl:element name="classDecl" namespace="http://www.tei-c.org/ns/1.0">
<xsl:element name="taxonomy" namespace="http://www.tei-c.org/ns/1.0">
<xsl:for-each select="tei:taxonomy/tei:category">
<xsl:sort select="tei:catDesc/tei:term"/>
<xsl:copy>
<xsl:copy-of select="@xml:id"/>
<xsl:copy-of select="tei:catDesc"/>
</xsl:copy>
</xsl:for-each>
</xsl:element>
</xsl:element>
</xsl:template>
<xsl:template match="tei:text"/>
</xsl:transform>
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