Hello We were trying to use Stax parser (Stream reader) to parse an XML file. Please consider the following XML file: Foo1 100 Foo2 200 By using streaming API, I need to distinguish between 'MyElem' and 'Name' and 'Data' I mean, I need to get the data like Element = 2 (Because MyElem appeared twice) ...