Vocabulary
xml

Inputs
streaman input stream
quota quotation with stack effect ( xml-elem -- )


Outputs
None

Word description
Parses the XML document, and whenever an event is encountered (a tag piece, comment, parsing instruction, directive or string element), the quotation is called with that event on the stack. The quotation has all responsibility to deal with the event properly. The encoding of the stream is automatically detected, so a binary input stream should be used.

See also
read-xml

Definition