Copyright 2013 Martin Holmes
This TEI-encoded XML file is available under the terms of the Creative Commons Attribution-ShareAlike 3.0 (Unported) license.
New born-digital creation.
What's the problem with this simple scenario, especially in the case of large projects?
What kinds of external data might we bring in?
doc()
function
The doc()
function takes a URI parameter, pointing to the external file.
Point out that what you're providing is either a relative or an absolute URI. Generally, with your own files, what you'll be using is a relative URI, but you can easily import data from any available source on the Web, as in the last example.
First, get someone to outline how the XML file works. Make sure they point out persName and @key.
Get someone else to outline how the stylesheet is working. In particular: suppressing the teiHeader, and outputting the stanzas as lists but without bullets or numbers. Note that there's nothing we can do with persName because the key data is elsewhere.
Now we work through the process of incorporating the data.
doc()
function takes a URI parameter, pointing to the external file.
doc-available()
: