|
|||||
|
|||||
Related Syntax | |||||
built-in variable |
xml-dtds |
Purpose
A shelf used to store compiled XML DTDs as items. These items are created and used as follows:
document
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 xml-dtds shelf. An item of this shelf can be used any number of times. Items can even be used simultaneously for nested do xml-parse
actions.
You can perform the following on the xml-dtds
shelf:
{...}
, but not their item indexer [...]
. An xml-dtds item can only be used in a do xml-parse
action.
remove
.
clear xml-dtds
permanently removes all compiled DTDs from the shelf.
The action new
can't be applied to the xml-dtds
shelf. The creating
option of do xml-parse
adds items to the xml-dtds
shelf.
None of the other shelf modification actions are allowed with the xml-dtds
shelf. You cannot use the following keywords with these shelves:
xml-dtds
can be thought of as a shelf, except that item values can't be created or used except by do xml-parse
(for example, you can't output a compiled DTD).
Related Syntax creating document-end document-start remove do xml-parse |