Hi
Thanks
I was looking in the APIs for an API that returned a string. I didn't event consider that the calling selectPath would construct and new XMLObject for me
doh
 
Mike


From: Yana Kadiyska [mailto:[EMAIL PROTECTED]
Sent: 08 September 2005 18:44
To: [email protected]
Subject: RE: xpath statment with non XmlObject results

Yes, that should work, does it not? The only thing you should be aware of is that if you use the cursor API to execute this, it’s a little tricky in the following sense: you can traverse the results by iterating over the cursor’s selections. However, if you’re returning a value that does not belong to the original document (ie. sum, substring or possibly string(…) ) the cursor will be moved over a new, literal value and you will have to manually move it back to the document before executing further queries.

 

Let me know if you encounter problems.

 

-Yana

 

From: Mike Skells [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 08, 2005 7:04 AM
To: [email protected]
Subject: xpath statment with non XmlObject results

 

Hi,

Is there a way of executing an XPath statemnt that return something other than a node-set

 

e.g. string(./Foo/@Bar)

 

 

Mike

Reply via email to