Home > Language Reference > Classes > XmlParser
Abort Method
Interrupts the parser.
Syntax
Public Sub Abort()
Remarks
The Abort method interrupts the parser - actually, it sets an internal flag to instruct the parser to abort as soon as possible and to return -1. Calling this property is only meaningful while parsing a document, that is while processing the StartElement, EndElement and CharData events. In any other circumstance, it does nothing.
Another way of interrupting the parser is to fire an error while processing one of these events, which yields control to the first error handler that encloses the call to the Parse method.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | N/A |