File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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