Lou Burnard wrote:
> This is what the ODD system is for.
> Your system should process the ODD declarations which define the TEI
> customization in question. This will contain a great deal of
> information about the classes concerned, the canonical names, etc. for
> all the elements in question. Not to mention internationalization!
> ODD is an XML format (indeed, a TEI one: see the section of the
> Guidelines confusingly called "tag documentation"), so you can write
> your java classes to do this in the same way as they currently handle
> TEI documents.
You might also want to consider the way Roma works on the web, which is
to grab element or class information from
an eXist database people with the source of the TEI, using XQuery.
This is even more fun than parsing the whole
source file yourself.
Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431
OSS Watch: JISC Open Source Advisory Service