This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes How to Stop a Stax parser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How to Stop a Stax parser" Watch "How to Stop a Stax parser" New topic
Author

How to Stop a Stax parser

igwe kalu kalu ogba
Ranch Hand

Joined: Feb 03, 2005
Posts: 133
Hello, In StaX, is it possible to stop parsing a document. So that maybe if an XML document has 30 tags. maybe when the tag count is at 15, to stop parsing the document entirely?
Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to Stop a Stax parser
 
Similar Threads
Is it possible to make Streaming with webservices
Update perticular tag using stax parser
Parsing and Storing HUGE XML files
APIs or any wrapper over SAX to avoid dirty code
is there any other tech to replace XPATH+DOM?