ROMA(1) | General Commands Manual | ROMA(1) |
NAME¶
roma - compile a TEI ODD specification into schemas and dtd
SYNOPSIS¶
roma [options] oddfile outputdir
DESCRIPTION¶
This manual page is not meant to be exhaustive. There is some more information in the help files for the web version of Roma, and plenty of background data about ODDs in the TEI Guidelines.
roma is used to generate XML RelaxNG or W3C schemas and DTDs from the the ODD source in oddfile and (optionally) some documentation to go with them.
OPTIONS¶
roma accepts the following options:
- --xsl URL
- location of TEI XSLT stylesheets, defaulting to /usr/share/xml/tei/stylesheet
- --teiserver URL
- location of TEI eXist database server, defaulting to http://tei.oucs.ox.ac.uk/Query/
- --doc
- create expanded documented ODD
- --nodtd
- suppress DTD creation
- --norelax
- suppress RelaxNG creation
- --noxsd
- suppress W3C XML Schema creation
- --debug
- leave temporary files, etc.
BUGS¶
If the ODD specification is internally inconsistent (eg some element has been deleted on which another element depends), then you may get a Relax NG schema which is apparently OK, but which cannot be translated into W3C schema. Because the conversions to DTD and Relax are maintained separately, some constructs may cause one to fail but not the other. No attempt is made to trap error messages from trang which is used to make W3C schemas.
SEE ALSO¶
9th May 2005 | TEI .. |