aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.
 
 
subject: How to Stop a Stax parser