Try not importing MSXML3, but instead, #include msxml.h or msxml2.h You'll only have raw interfaces that way, but it should eliminate the namespace problems. Alternatively, don't have 'using namespace', and specify it locally. It's a pain, but hey, that's life... Steve S