Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

[jdom-interest] Line Number of An Element

Vikas Mane

2004-07-13

Replies:

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@kenati.com>
Kenati Technologies
©2008 junlu.com - Jax Systems, LLC, U.S.A.