|        | |||||
|  | |||||
| Shelves: the "sgml-dtds" and "xml-dtds" shelves | |||||
| Prerequisite Concepts | Related Syntax | ||||
Compiled SGML and XML DTDs are kept as items on the sgml-dtds or xml-dtds shelf:
sgml-dtds or xml-dtds item (document or subdocument with creating) sets an item of the sgml-dtds or xml-dtds shelf to be the compiled DTD. It creates the item if it does not already exist.
instance) uses an item of the sgml-dtds or xml-dtds shelf. An item of either of these shelves can be used any number of times. The item can even be used simultaneously for nested do sgml-parse or do xml-parse actions.
When do sgml-parse or do xml-parse is used to parse an instance or instance part using a previously compiled DTD, a "copy" of that compiled DTD is used, so that even if the DTD used is removed from the sgml-dtds or xml-dtds shelf during the do sgml-parse or do xml-parse, there is no problem: the compiled DTD will be retained by OmniMark until all do sgml-parse or do xml-parse actions using it have completed.
| Prerequisite Concepts Arrays | Related Syntax do sgml-parse do xml-parse sgml-dtds xml-dtds | 
| ---- |