diff --git a/rdf/Makefile b/rdf/Makefile index cb213ee32..b6a30c4f5 100644 --- a/rdf/Makefile +++ b/rdf/Makefile @@ -1,7 +1,7 @@ default: build compile build: - saxon -o:rdf.expanded -s:rdf.odd -xsl:/usr/share/xml/tei/stylesheet/odds2/odd2odd.xsl + saxon -o:rdf.expanded -s:rdf.odd -xsl:/usr/share/xml/tei/stylesheet/odds/odd2odd.xsl compile: saxon rdf.expanded make-acdc.xsl > tei2rdf.xsl diff --git a/rdf/crm.odd b/rdf/crm.odd index 8ec86e75b..fe1ce197a 100644 --- a/rdf/crm.odd +++ b/rdf/crm.odd @@ -20,6 +20,9 @@ + + + - + @@ -557,9 +557,9 @@ + test="(ancestor::TEI|ancestor::teiCorpus)/teiHeader/fileDesc/publicationStmt/idno[starts-with(.,'http')]"> + select="(ancestor::TEI|ancestor::teiCorpus)/teiHeader/fileDesc/publicationStmt/idno[starts-with(.,'http')][1]"/> @@ -575,8 +575,8 @@ - + test="(ancestor::TEI|ancestor::teiCorpus)/teiHeader/fileDesc/publicationStmt/idno"> + @@ -588,9 +588,9 @@ + test="(ancestor::TEI|ancestor::teiCorpus)/teiHeader/fileDesc/publicationStmt/idno[contains(.,'/id/')]"> diff --git a/rdf/tei2rdf.xsl b/rdf/tei2rdf.xsl index dc0b16681..8c3fc7d5d 100644 --- a/rdf/tei2rdf.xsl +++ b/rdf/tei2rdf.xsl @@ -21,6 +21,9 @@ + + +