You are probably defining the Xerces namespace as the default one, and including (directly or indirectly) the msxml.h header, that defines a DOMDocument class too; in order to disambiguate the symbol, write xercesc::DOMDocument

Alberto

Josep Oriol Ragués wrote:
When I declare a DOMDocument variable like follows:

DOMDocument* doc;

Appears this error:

error C2872: 'DOMDocument' : ambiguous symbol

Why? How can I solve it?

Thanks for your time
Josep



Reply via email to