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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:51 GMT