You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by 4p...@sneakemail.com on 2006/06/12 18:28:27 UTC
how to locate a DOMNode in it's source file
I parsed an XML document with the xerces DOM parser and receive a DOM tree as a result. Subsequently, I analyse the DOM tree.
However, my code might detect errors during the analysis, and report them. The problem here is though that I only have the DOM tree and it's nodes, so for a given DOMNode* containing the offending node, I'd need to find out the position in the source file from which it was generated.
Is there an easy way of doing that with Xerces?
Cheers,
Uwe
--------------------------------------
Protect yourself from spam,
use http://sneakemail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org