You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Chris Gokey <cg...@hydrogen.stx.com> on 2000/04/16 07:04:12 UTC

how can I retrieve the line number from where the Node originated?

Hi everyone,

I am using the DOMParser and I'd like to know where in the file each Node
originated from (line number) as I traverse through the DOM.  Is this
possible?  Does it store the line number as part of a Node somewhere?

Chris

-- 
Christopher D. Gokey, Raytheon ITSS, NASA/GCMD
18 Martin Road, Shelburne Falls, MA  01370
Phone: Voice (413) 625-8129 / FAX 208-248-9055
cgokey@gcmd.nasa.gov / http://gcmd.nasa.gov