|
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/MyNamespace, then 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
|
Title: Message
- XPathQueryService & namespaces John Merrells
- Re: XPathQueryService & namespaces Kimbro Staken
- Re: XPathQueryService & namespaces John Merrells
- Re: XPathQueryService & namespaces Kimbro Staken
- Re: XPathQueryService & namespaces Timothy M. Dean
- Re: XPathQueryService & namespaces Tom Bradford
- RE: XPathQueryService & namespaces Timothy M. Dean
- Re: XPathQueryService & namespaces Tom Bradford
