Using RomaBy far the easiest way to get a customized view of a TEI schema is by using the webservice available at http://www.tei-c.org.uk/Roma/ Roma allows to:
... And all this with an easy to use interface! Selecting Tag SetsIn P4, before Roma, it was done like this: A `view' of the DTD is created by using the main DTD (tei2.dtd) and selecting the appropriate subsets, e.g:
<!DOCTYPE TEI.2 SYSTEM 'tei2.dtd' [ <!ENTITY % TEI.prose 'INCLUDE' > <!ENTITY % TEI.analysis 'INCLUDE' > <!ENTITY % TEI.fs 'INCLUDE' > ]> Element ClassesElements and their attributes are grouped into `classes'. Model classes Attribute classes Both types of class may have subclasses; both have inheritance. Both are documented and used to generate the schema. Modifying the TEI schemaA user can modify the TEI schema by
All modifications are invoked by defining the extension entities as follows: <!ENTITY % TEI.extensions.ent SYSTEM 'project.ent' > <!ENTITY % TEI.extensions.dtd SYSTEM 'project.dtd' >The modifications itself are then placed in the files `project.ent' and `project.dtd'. |
5 Next | First| Previous | Introduction to Markup and the TEI Guidelines |