Hi All,

I am using DOMBuilder as a parser. I need to get line, column and offset
values for each node but it seems it is not available. Could you help me how
should I get these informations without changing the parser.

                static const XMLCh gLS[] = { chLatin_L, chLatin_S, chNull };
                DOMImplementation *impl =
DOMImplementationRegistry::getDOMImplementation(gLS);
                parserInstance_ =
((DOMImplementationLS*)impl)->createDOMBuilder(DOMImplementationLS::MODE_SYN
CHRONOUS, 0);

                parserInstance_->setFeature(XMLUni::fgDOMValidation, true);
                parserInstance_->setFeature(XMLUni::fgDOMNamespaces, true);
                DOMErrorHandler* errHandler = new EsDOMErrorHandler();
                parserInstance_->setFeature(XMLUni::fgDOMEntities, false);

Thanks & Regards
Vikas Agrawal


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to