Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: MSXML 6.0 and .net XML - default namespaces [Thread Next] Re: MSXML 6.0 and .net XML - default namespacesTo: NULL Date: 3/25/2009 6:22:00 PM Scott wrote: > I will have to give that a try. In .net you would create a namespacemanager > with the default url and then reference the nodes without the namespace > syntax, selectSingleNode( "root/bar" ) .NET also implements XPath 1.0 so with .NET too, if you want to select an element in a namespace, you need to bind a prefix to the namespace URI and use that prefix in your XPath expression. In XPath 1.0 the path expression root/bar always selects elements in no namespace. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
