Handbook
Glossary
read-dtd ( stream -- dtd )
Furnace framework
»
XML parser
»
Reading XML
Prev:
bytes>xml ( byte-array -- xml )
Next:
file>dtd ( filename -- dtd )
Vocabulary
xml
Inputs
stream
an input stream
Outputs
dtd
a
dtd
Word description
Exhausts a stream, producing a
dtd
from the contents.
See also
file>dtd
,
string>dtd
Definition
USING:
kernel
namespaces
xml.elements
xml.state
xml.tokenize
;
IN:
xml
:
read-dtd
( stream -- dtd )
[
H{
}
clone
extra-entities
set
take-internal-subset
]
with-state
;