Aalto: Basic StAX Parsing Using Aalto
Overview Aalto provides JSR-173 compliant StAX (Streaming API for XML) parsing. The key classes involved in StAX parsing are XMLInputFactory2 , XMLStreamReader2 and XMLEvent . The following sample program demonstrates how to perform basic StAX parsing Create employee.xml as shown below. It contains employee related information like id, name and salary (see lines 2-4 below) … Read more