Woodstox : Peek to Next Element
Overview Woodstox provides a feature to peek into the next XML element from the current XML element. This is achieved by using XMLEventReader.peek() method. This sample program demonstrates how to peek into the next XML element. Create the employee.xml as shown below. Note that there are three XML elements: start element ’employee’ character content ‘some … Read more