Line Number of a DOM Element
843834Sep 30 2008 — edited Oct 2 2008Hi There,
I'm trying to find the originating xml file line number of a DOM element (for purposes of error reporting).
It seems that you can somehow use the DOMLocator class, however I can't seem to find any explanation of how to do this.
Please could anyone tell me how?
Thanks a lot,
Chris.