Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changes

## 0.10.0

- adds `xsl/rdf/wikidata.xsl` and `xsl/rdf/wikidata-geo.xsl` for
retrieving data from the Wikidata API and making TEI snippets, e.g.,
`<location><geo>... ...</geo></location>`

## 0.9.1

- makes correct identifier for registry entries from VIAF's RDF/XML
Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

This is an XSLT library for transforming various input formats to TEI-XML. Input formats include

- RDF/XML from [viaf.org](http://viaf.org) to person or place entries
in a TEI registry file based on viaf identifiers:
[XSLT](xsl/rdf/viaf.xsl) [Wiki](../../wikis/viaf)
- [USX](https://ubsicap.github.io/usx/) as used by *Deutsche
Bibelgesellschaft*, currently transforming USX 3.0 documents to TEI
P5: [XSLT](xsl/usx) [Wiki](../../wikis/usx)
Expand All @@ -13,6 +10,17 @@ This is an XSLT library for transforming various input formats to TEI-XML. Input
- docx: [XSLT](xsl/docx) [Wiki](../../wikis/docx)
- PageXML: [XSLT](xsl/pagexml) [Wiki](../../wikis/pagexml)

Retrieving data from APIs and transforming into TEI-snippets:

- RDF/XML from [viaf.org](http://viaf.org) to person or place entries
in a TEI registry file based on viaf identifiers:
[XSLT](xsl/rdf/viaf.xsl) [Wiki](../../wikis/viaf)
- JSON from [Wikidata
API](https://doc.wikimedia.org/Wikibase/master/js/rest-api/) to TEI
geo-coordinates: [XSLT](xsl/rdf/wikidata-geo.xsl)
[Wiki](../../wikis/wikidata)


## Getting started

Usage notes on the transformation can be found in the comments at the
Expand Down
7 changes: 7 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<antcall target="test-xsl-usx-usx2tei.xsl"/>
<antcall target="test-xsl-usx-usx2tei-char-sigla.xsl"/>
<antcall target="test-xsl-rdf-viaf.xsl"/>
<antcall target="test-xsl-rdf-wikidata-geo.xsl"/>
</target>

<target name="test-xsl-pagexml-pagecontent2tei.xsl">
Expand All @@ -49,4 +50,10 @@
</antcall>
</target>

<target name="test-xsl-rdf-wikidata-geo.xsl">
<antcall target="xspec.xspec" inheritall="false">
<param name="xspec.xml" location="${basedir}/xsl/rdf/wikidata-geo.xspec"/>
</antcall>
</target>

</project>
Loading
Loading