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

BVB zu is_documented_in hinzugefügt

parent 93189717
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:bf="http://id.loc.gov/ontologies/bibframe/" xmlns:ecrm="http://erlangen-crm.org/current/" xmlns:edm="http://www.europeana.eu/schemas/edm/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:frbr="http://purl.org/vocab/frbr/core#" xmlns:gndo="https://d-nb.info/standards/elementset/gnd#" xmlns:owl ="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:schema="http://schema.org/" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:wdt="http://www.wikidata.org/prop/direct/" exclude-result-prefixes="xs tei" version="2.0"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:bf="http://id.loc.gov/ontologies/bibframe/" xmlns:ecrm="http://erlangen-crm.org/current/" xmlns:edm="http://www.europeana.eu/schemas/edm/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:frbr="http://purl.org/vocab/frbr/core#" xmlns:gndo="https://d-nb.info/standards/elementset/gnd#" xmlns:owl ="http://www.w3.org/2002/07/owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:schema="http://schema.org/" xmlns:tei="http://www.tei-c.org/ns/1.0" xmlns:wdt="http://www.wikidata.org/prop/direct/" exclude-result-prefixes="xs tei" version="2.0">
<xsl:template match="/"> <xsl:template match="/">
<xsl:result-document indent="yes" href="hainhofer-lod_plc.xml"> <!-- Dateinamen ggf. hier anpassen. --> <xsl:result-document indent="yes" href="hainhofer-lod_psn.xml"> <!-- Dateinamen ggf. hier anpassen. -->
<rdf:RDF <rdf:RDF
xmlns:bf="http://id.loc.gov/ontologies/bibframe/" xmlns:bf="http://id.loc.gov/ontologies/bibframe/"
xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcterms="http://purl.org/dc/terms/"
...@@ -34,17 +34,17 @@ ...@@ -34,17 +34,17 @@
<!-- Wenn die Transformation zu lange dauert, jedes Register einzeln transformieren und die jeweils anderen auskommentieren: --> <!-- Wenn die Transformation zu lange dauert, jedes Register einzeln transformieren und die jeweils anderen auskommentieren: -->
<!-- Personengruppen (tei:personGrp) sind unten noch nicht berücksichtigt, daher hier nur tei:person: --> <!-- Personengruppen (tei:personGrp) sind unten noch nicht berücksichtigt, daher hier nur tei:person: -->
<!--<xsl:apply-templates select="collection('file://///C:/Users/iglesia/Documents/Register/register-person?select=*.xml;recurse=no')//tei:person[tei:idno[@type='URI'][contains(.,'://d-nb.info/gnd/')]]"/>--> <xsl:apply-templates select="collection('file://///C:/Users/iglesia/Documents/Register/register-person?select=*.xml;recurse=no')//tei:person[tei:idno[@type='URI'][contains(.,'://d-nb.info/gnd/')]]"/>
<!--<xsl:apply-templates select=" collection('file://///C:/Users/iglesia/Documents/Register/register-work?select=*.xml;recurse=no')//tei:item[tei:idno[@type='URI'][contains(.,'://d-nb.info/gnd/') or contains(.,'ta.sandrart.net')]]"> <!--<xsl:apply-templates select=" collection('file://///C:/Users/iglesia/Documents/Register/register-work?select=*.xml;recurse=no')//tei:item[tei:idno[@type='URI'][contains(.,'://d-nb.info/gnd/') or contains(.,'ta.sandrart.net')]]">
<!-\-<xsl:sort select="tei:name[@type='preferred']/tei:term/@sortKey"/>-\-> <!-\-<xsl:sort select="tei:name[@type='preferred']/tei:term/@sortKey"/>-\->
</xsl:apply-templates>--> </xsl:apply-templates>-->
<xsl:apply-templates select=" collection('file://///C:/Users/iglesia/Documents/Register/register-place?select=*.xml;recurse=no')//tei:place[tei:idno[@type='URI']]"> <!--<xsl:apply-templates select=" collection('file://///C:/Users/iglesia/Documents/Register/register-place?select=*.xml;recurse=no')//tei:place[tei:idno[@type='URI']]">
<xsl:sort select="tei:placeName[@type = 'preferred']/tei:term/@sortKey"/> <xsl:sort select="tei:placeName[@type = 'preferred']/tei:term/@sortKey"/>
</xsl:apply-templates> </xsl:apply-templates>-->
<!--<xsl:apply-templates select=" collection('file://///C:/Users/iglesia/Documents/Register/register-org?select=*.xml;recurse=no')//tei:org[tei:idno[@type='URI'][contains(.,'://d-nb.info/gnd/') or contains(.,'://www.wikidata.org/')]]"/>--> <!--<xsl:apply-templates select=" collection('file://///C:/Users/iglesia/Documents/Register/register-org?select=*.xml;recurse=no')//tei:org[tei:idno[@type='URI'][contains(.,'://d-nb.info/gnd/') or contains(.,'://www.wikidata.org/')]]"/> -->
<!--<xsl:call-template name="hasmet"/>--> <!--<xsl:call-template name="hasmet"/>-->
...@@ -754,6 +754,14 @@ ...@@ -754,6 +754,14 @@
</xsl:attribute> </xsl:attribute>
</ecrm:P70i_is_documented_in> </ecrm:P70i_is_documented_in>
</xsl:if> </xsl:if>
<xsl:if test="collection('file://///C:/Users/iglesia/Documents/Register/bibliography?select=*.xml;recurse=no')//tei:bibl[@xml:id eq $litid]/tei:ptr[matches(@type, '^bvb$')]">
<ecrm:P70i_is_documented_in>
<xsl:attribute name="rdf:resource">
<xsl:value-of select="concat('https://gateway-bayern.de/',collection('file://///C:/Users/iglesia/Documents/Register/bibliography?select=*.xml;recurse=no')//tei:bibl[@xml:id eq $litid]/tei:ptr[matches(@type, '^bvb$')][1]/@cRef/normalize-space())"/>
</xsl:attribute>
</ecrm:P70i_is_documented_in>
</xsl:if>
</xsl:for-each> </xsl:for-each>
</xsl:template> </xsl:template>
......
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