Streaming API for XML (StAX)

The API may become the part of the Java API for XML Processing (JAXP) in the future.

Offers two ways to pull-based processing:

  • pulling the events using iterator - more comfortable

  • low-level access using so called cursor - faster.