Please unsubsribe from this list and subscribe to xerces-c-dev instead. The
C++ and Java lists are being split apart. I will post the answer on that
list.

The answer is no it does not. One obvious problem is that the content of a
node could span many lines, so it would have to contain some sort of line
range or something. And, multiple nodes could be on the same line. So if
you wanted to use this info to get back to data in the original file, it
would still be difficult.

But anyway, its a moot point since its not done. The extra burden of
collecting this informaiton (which it might be meaningless anyway since the
data is not coming from a file in many cases) probably wouldn't be
considered worth it, since everyone would have to pay for it and all
parsers would have to provide it.

----------------------------------------
Dean Roddey
Software Weenie
IBM Center for Java Technology - Silicon Valley
[EMAIL PROTECTED]



Chris Gokey <[EMAIL PROTECTED]>@equinox.shaysnet.com on 04/15/2000
10:04:12 PM

Please respond to [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To:   Xerces Development <[EMAIL PROTECTED]>
cc:
Subject:  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
[EMAIL PROTECTED] / http://gcmd.nasa.gov



Reply via email to