How to query default namespace with MSXML
问题 I have some XML: <?xml version="1.0" ?> <Project ToolsVersion="4.0"> <PropertyGroup Condition="'$(key)'=='1111'"> <Key>Value</Key> </PropertyGroup> </Project> Note : This isn't the actual XML i'm using, it's just prettier and shorter, and demonstrates the problem. Using MSXML i can query for nodes: IXMLDOMNode node = doc.selectSingleNode("//PropertyGroup/@Condition"); And it works fine: Condition="'$(key)'=='1111'" But that's not really the XML i have In reality the XML i have contains a