5 19 XMLReaderService

LANSA Integrator

5.19 XMLReaderService

The XMLReaderService allows XML files to be read using a StAX stream reader.

The Streaming API for XML (StAX) is an API for pull-parsing XML.

The streaming API gives parsing control to the programmer by exposing a simple iterator based API.

This allows the programmer to ask for the next event (pull the event) and allows state to be stored in a procedural fashion.

The XMLReaderService uses the Woodstox API (Refer to http://woodstox.codehaus.org/).