[Home] [By Thread] [By Date] [Recent Entries]


> 
> Consider this sample...
> 
> <?xml version="1.0"?>
> <alk:root xmlns:alk="http://foo" xmlns:xyz="http://goo">
> 	<xyz:bar>somevalue</xyz:bar>
> </alk:root>
> 
> Using MSXML4 how to select the element "xyz:bar"
> 
> Without namespaces, i could do it simply via the 
> "selectSingleNode" method. How to do it when namespaces are involved?
> 

Take a more careful look at the API, you'll find you can call
setProperty to set a property called "selectionNamespaces".

Michael Kay
Software AG
home: Michael.H.Kay@n...
work: Michael.Kay@s... 


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member