W3C home > Mailing lists > Public > www-forms@w3.org > May 2002

RE: namespace and schema reference issues

From: TempMarkBirbeck <Mark.Birbeck@x-port.net>
Date: Fri, 17 May 2002 11:56:54 +0100
Message-ID: <66A62983C79A3A44A9F4442EFE617337023D03@S013.x-port.net>
To: "'Roman Huditsch'" <roman.huditsch@hico.com>
Cc: www-forms@w3.org

> 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.


Mark Birbeck
Managing Director
x-port.net Ltd.
4 Pear Tree Court

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
Received on Friday, 17 May 2002 06:50:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:06 UTC