wsd-ng: An example ODD module
The files listed below constitute the ODD source and outputs for
the new module under development by the CE workgroup as a replacement
for the WSD chapter of the TEI Guidelines.
It is also presented here as a simple example of how to use the ODD
system.
This chapter defines two elements (c and
charDesc) which need to be integrated into the rest of the
TEI scheme. The former is added to the phrase class; the latter is
added to the class tei.encoding (i.e. the elements
which are legal within the encodingDesc).
The module also defines a special pattern
datatype.ucscode.pat, which is used to check that only
valid UCS codes are supplied for the ucs attribute
The ODD source for the chapter itself draft.xml
ODD source for the documentation crystals for the elements and classes unique to this module:
c; char;
chardesc; charname; charProp; UCScode pattern;
glyph; glyphName;
localName; mapping;
unicodeName; value
Schema used to validate the foregoing odd.rnc
The makefile used to build dtds, schemas, html etc. Makefile
HTML generated from the foregoing Odd sources: draft.html
The generated Relaxng fragments:
wsd-ng.rng and wsd-ng.rnc
The generated DTD fragments: wsd-ng.ent and wsd-ng.ent
An XML DTD test files which embeds the DTD fragments above in
the same way as other TEI modules:
DTD test
The same test file set up to test the generated Schema module:
Schema test
Schema referenced by the Schema test file
Caution: not all browsers will behave sensibly when you click on
some of the above links. If in doubt, use a right click to download
the file in question.
LB, 18 Mar 04