I'm parsing a large XML document where I only need a little bit of the beginning of the document. Is there a way to force processing to stop as if the end of the document has actually been reached and have the end_document sub in the handler package be called. Ideally I'd like to force it to happen in the start_element sub when a certain element is encountered.
In reply to How to force end_document in XML::SAX? by mifflin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |