Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.42!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!198.186.194.250.MISMATCH!news-out.readnews.com!news-xxxfer.readnews.com!postnews.google.com!p2g2000pbb.googlegroups.com!not-for-mail From: mani Newsgroups: comp.lang.java.programmer Subject: java get xml file line number for the current node Date: Mon, 20 Feb 2012 02:50:36 -0800 (PST) Organization: http://groups.google.com Lines: 2 Message-ID: NNTP-Posting-Host: 121.244.182.77 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1329735037 1220 127.0.0.1 (20 Feb 2012 10:50:37 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 20 Feb 2012 10:50:37 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: p2g2000pbb.googlegroups.com; posting-host=121.244.182.77; posting-account=pa7kTgoAAAAaAM5cWyISM4dM3n5XoYZs User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESRCNK X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1,gzip(gfe) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:12189 How can I now find the line number in the source XML file where this node occurs?