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

  • To: "'xml-dev@l...'" <xml-dev@l...>
  • Subject: MSXML4 : how to select a element with namespace prefix
  • From: Anuga Laxmi Kanth Reddy <areddy2@b...>
  • Date: Fri, 21 Feb 2003 13:55:51 +0100

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?

thanks,
Laxmikanth

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