Re: How to get encoding declaration from

2005-10-03 Thread Alberto Massari
Hi Elisha, you can try installing an "advanced document handler" using installAdvDocHandler(); in your XMLDocumentHandler-derived class, you will receive the virtual void XMLDecl ( const XMLCh* constversionStr , const XMLCh* constencodingStr , const XM

How to get encoding declaration from

2005-10-02 Thread Elisha Berns
Hi, How do you get the encoding=xxx declaration from the declaration of an xml document using Xerces? I'd like to use SAX to do it, but I don't see an interface that that has a getEncoding() method so far that works off the xml document. Additionally the DefaultHandler::startPrefixMapping() meth