Skip to content
Snippets Groups Projects
Commit 3d752a40 authored by Martin de la Iglesia's avatar Martin de la Iglesia
Browse files

mehrere GND-IDs

parent 0740d0b8
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
<xsl:template match="/">
<!-- hier den Dateinamen des Ergebnisdokuments angeben: -->
<xsl:result-document href="herkunftsorte-a.kml" method="xml" encoding="utf-8" indent="yes">
<xsl:result-document href="herkunftsorte-xyz.kml" method="xml" encoding="utf-8" indent="yes">
<kml xmlns="http://www.opengis.net/kml/2.2">
<xsl:apply-templates select="//tei:person"/>
</kml>
......@@ -22,7 +22,7 @@
<xsl:if test="tei:idno[@type = 'URI'][contains(., 'd-nb.info')]">
<xsl:variable name="gndurl" select="normalize-space(tei:idno[@type = 'URI'][contains(., 'd-nb.info')])"/>
<xsl:variable name="gndurl" select="normalize-space(tei:idno[@type = 'URI'][contains(., 'd-nb.info')][1])"/>
<xsl:variable name="gndrdfurl" select="concat($gndurl, '/about/lds.rdf')"/>
<xsl:if test="doc-available($gndrdfurl)">
<xsl:if test="document($gndrdfurl)//owl:sameAs[contains(./@rdf:resource, 'wikidata')]">
......@@ -114,4 +114,4 @@
</xsl:if>
</xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>
\ No newline at end of file
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