RE: namespace and schema reference issues

Roman,

> The problem with the default namespace is that we have tried
> to navigated through our Xform document with XPath, but MSXML
> was unfortunately not able to do that properly (although the
> syntax was definitely rigth ;) ).

One possibility is that you haven't set the "SelectionLanguage" property on
your XML DOM to "XPath". You need to do this to get the MSXML parser to
properly evaluate XPath queries - rather than the older XSL - expressions,
and so properly understand namespaces. You can then use the
"SelectionNamespaces" property to set up your namespaces.

Since you will most likely always want to use proper XPath queries, then the
simplest solution is to make sure all of your XML documents are created in
one place, and then set the "SelectionLanguage" property on construction.

Regards,

Mark Birbeck
Managing Director
x-port.net Ltd.
4 Pear Tree Court
London
EC1R 0DS

E: Mark.Birbeck@x-port.net
W: www.x-port.net
T: +44 (20) 7689 9232
Co-author Professional XML and Professional XML Meta Data, both by Wrox
Press

Received on Friday, 17 May 2002 06:50:45 UTC