[Expat-discuss] How to parse discrete entities only? (newbie
question)
Chris Rogers
chris.rogers at norcross.com.au
Mon Jan 19 22:49:40 EST 2004
Hello,
Please forgive this newbie question - I have tried to find the answer by
studying the source, in various FAQ's etc.
Is it possible/sensible to try achieving the following using expat?
I want to begin feeding the parser a stream of input but want it to
stop/halt when it reaches various places in the stream. Specifically, I
want expat to stop when it reaches the start or end of an entity.
For example:
<Person>
.....
.....
attributes
.....
.....
</Person> <--- after reading this line, stop
<Person>
.....
.....
attributes
.....
.....
</Person>
Is this something I should be trying to do with expat?
Much thanks,
Chris Rogers
More information about the Expat-discuss
mailing list