Handbook
Glossary
pull-event ( pull -- xml-event/f )
Furnace framework
»
XML parser
»
Event-based XML parsing
Prev:
pull-xml
Next:
pull-elem ( pull -- xml-elem/f )
Vocabulary
xml
Inputs
pull
an XML pull parser
Outputs
xml-event/f
an XML tag event, string, or f
Word description
Gets the next XML event from the given XML pull parser. Returns f upon exhaustion.
See also
pull-xml
,
<pull-xml>
,
pull-elem
Definition
USING:
accessors
kernel
namespaces
xml.elements
xml.private
xml.state
xml.tokenize
;
IN:
xml
:
pull-event
( pull -- xml-event/f )
scope>>
[
text-now?
get
[
parse-text
f
]
[
get-char
[
make-tag
t
]
[
f
f
]
if
]
if
text-now?
set
]
with-variables
;