Image

Imageska_o wrote in Imagejava_dev

XML parser question

Given an XML file, a javax.xml.parsers.DocumentBuilder, a Document that was parsed, and an Element instance that's part of the document, is it possible to get the corresponding line number in the original file? Is it possible with any other existing parser that you know of?

Thanks in advance.