XERCES_CPP_NAMESPACE_USE is the macro you need. I believe somebody wrote about this issue in the list archives also.
-----Original Message----- From: Elisha Berns [mailto:[EMAIL PROTECTED] Sent: Friday, June 24, 2005 9:09 AM To: Xerces C++ Development Subject: Namespace collision when using MFC I am getting this error (multiple times) when attempting to use Xerces with an MFC application: c:\Projects\TestTrackers\XmlTools\XmlBindingDefs.h(109) : error C2872: 'DOMDocument' : ambiguous symbol could be 'c:\Program Files\Microsoft SDK\include\MsXml.h(161) : DOMDocument' or 'c:\Libraries\Sleepycat\dbxml-2.0.9\xerces-c-src_2_6_0\src\xercesc\dom\D OMDocument.hpp(63) : xercesc_2_6::DOMDocument' Basically I need to use a 'using namespace xercesc' in my code, so does anybody know how to get rid of all the MSXML namespace stuff? Thanks, Elisha Berns [EMAIL PROTECTED] tel. (310) 556 - 8332 fax (310) 556 - 2839 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___________________________________________________________________ The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
