← Prev in month ← Prev in thread

how to skip parsing of a subtree?

From
Anil Philip <>
To
XML Developers List <>
Date
2005-10-10T13:46:32Z
ID
<>
Thread
how to skip parsing of a subtree?
Hello,
I am using SAX/Java to parse through a tree of nodes
looking for a particular subtree. Each node has a
nodeId attribute (an int).
When I find the subtree, I want to parse it into
nodes. However it would be a waste to parse the rest
of the xml file; how do I skip parsing the rest?
Parsing the rest of the file would be simply
unnecessary.
(I assume SAX is pre-order tree traversal).
thanks,
Anil

for good news go to http://members.tripod.com/~goodnewsforyou/goodnews.html


		
__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
← Prev in month ← Prev in thread