Quoting "R. Mark Volkmann" <[EMAIL PROTECTED]>:

> When I run the xpath query "/*" on a collection, it returns all the documents
> in
> the collection.  The name of their root elements is "service".  When I run
> the
> query "/service" I get nothing back.  How can this be?

Here's more detail.

This query returns nothing.
"/[EMAIL PROTECTED]'Weather']/description"

This query returns the description element.
"/[EMAIL PROTECTED]'Weather']/*[name()='description']"

It seems that I can't directly use the name of an element in the xpath.
I think this is a namespace problem.
What do I have to do to declare the namespace of the elements in my xpath?

--
R. Mark Volkmann
Partner, Object Computing, Inc.

Reply via email to