|
|||||
built-in variable | sgml-dtds | ||||
Related Syntax | Related Concepts |
Purpose
A shelf used to store compiled SGML DTDs as items. These items are created and used as follows:
document
or subdocument
with creating
) sets an item of the shelf to be the compiled DTD. It creates the item if it did not previously exist.
instance
or element-content
) uses an item of the sgml-dtds shelf. An item of this shelf can be used any number of times. Items can even be used simultaneously for nested do sgml-parse
actions.
Most common accesses, shelf actions, and tests can be performed on the sgml-dtds
shelf. These include the following:
^
(key
) indexing form, but not @
(item
). An sgml-dtds item, however, can only be used in a do sgml-parse
action.
remove
.
clear sgml-dtds
permanently removes all compiled DTDs from the shelf.
The action new
can't be applied to the sgml-dtds
shelf. The creating
option of do sgml-parse
adds items to the sgml-dtds
shelf. In addition, none of the other shelf modification operations are allowed with the sgml-dtds
shelf, except that you can remove all complied DTDs using clear
.
sgml-dtds
can be thought of as a shelf, except that item values can't be created or used except by do sgml-parse
(for example, you can't output a compiled DTD).
dtds
is a deprecated synonym for sgml-dtds
.
Related Syntax clear creating item key new, set new remove do sgml-parse |
Related Concepts Shelves: the "sgml-dtds" and "xml-dtds" shelves |
---- |