Title: Message
Yes, the XPath query can contain references to these namespace prefixes. For example, if my DB documents contain top-level elements called "MyElement" that are associated with the namespace http://www.mydomain.com/MyNamespacethen I could select those nodes in an XPath query using something like "/ns:MyElement", and then associate the prefix "ns" to the desired URI.
 
Note that at the current time, it does not appear that this mechanism works when you set a default namespace. However, it does work well when mapping specific prefixes to a namespace URI.
 
- Tim
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Merrells
Sent: Saturday, January 05, 2002 4:26 PM
To: [EMAIL PROTECTED]
Subject: XPathQueryService & namespaces

 
This service provides a bunch of methods for setting
up a mapping of namespace prefixes to uris. But I
don't understand what these are supposed to be used
for.... Might the XPath query contain references to
these namespaces...?
 
John
 

Reply via email to