Name — Get next parsing event.

Synopsis xmlParser


The advance the parser to the next event. The int value returned from next determines the current parser state and is identical to the value returned from following calls to kxml.event.

The following event types are seen by .

  • START_DOCUMENT 0 :Initially, the parser is in the START_DOCUMENT state.

  • START_TAG 2: An XML start tag was read.

  • TEXT 4: Text content was read; the text content can be retreived using the kxml.gettext method.

  • END_TAG 3: An end tag was read.

  • END_DOCUMENT 1: No more events are available.