|
|||||
XML/SGML parsing: built-in shelves | |||||
Prerequisite Concepts | Related Syntax |
Certain built-in stream and counter shelves exist only to support SGML and XML parsing activity. These shelves must not be accessed outside SGML or XML parsing.
The following stream and counter built-in shelves must not be accessed in process
, process-start
, or process-end
rules:
Whether #appinfo
and #doctype
actually provide information depends on the state of the parsing. They provide information only if the document being parsed, or the DTD being used to parse it, provides the information. In particular, this means they are never attached in:
document-start
rules
do sgml-parse
or do xml-parse
actions prior to a %c
operator or suppress
action, unless a precompiled DTD is used
do sgml-parse
or do xml-parse
actions after the %c
operator or suppress
action
document-end
rules if errors occurred before this information could be determined
Prerequisite Concepts Aided translation types Markup languages |
Related Syntax #appinfo #doctype #markup-parser #sgml do sgml-parse do xml-parse |
---- |