Determining line number for diagnostics during DOM traversal

J

Jim Cobban

I am reading an XML file using Java. I would like to issue diagnostic
messages which identify the original line number in the source, but that
information does not appear to be available during a DOM traversal. I am
using DOM rather than SAX because I want to be able to update the DOM and
then write the updated XML file back out.

--
Jim Cobban (e-mail address removed)
34 Palomino Dr.
Kanata, ON, CANADA
K2M 1M1
+1-613-592-9438
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top