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

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top