[jdom-interest] Line Number of An Element

Per Norrman per.norrman at austers.se
Tue Jul 13 00:57:47 PDT 2004


Inj the latest jdom-contrib (http://jdom.org/dist/binary/),
you can find org.jdom.contrib.input.LineNumberSAXBuilder.
Take a look at that.


Vikas Mane wrote:

> Hi Geeks
> I want to get line number of an element in the xml File.
> I am using JDOM's SAXBuilder  to build the DOM .
> When xml is not in proper format , JDOMExecption thrown gives us the 
> line number .
> Is there any way i can get the line number of an element
> Regards
> -- 
> Vikas Mane <vikas at kenati.com <mailto:vikas at kenati.com>>
> Kenati Technologies

More information about the jdom-interest mailing list