Re: XSXMLNode nodesForXPath bug?
Re: XSXMLNode nodesForXPath bug?
- Subject: Re: XSXMLNode nodesForXPath bug?
- From: "Stephen Deken" <email@hidden>
- Date: Fri, 8 Jun 2007 21:07:32 -0500
On 6/8/07, Stephen Deken <email@hidden> wrote:
That seems like it should work too, but the string() function
apparently doesn't work in that context -- it causes the query to
return nil without setting an error.
Ah, ah -- that sort of construct doesn't work when dealing with
straight XPath (nodesForXPath:error:) but works a treat when using
XQuery (objectsForXQuery:error:).
The problem with the descendant::text() query remains, but at least
there's a sane workaround.
--
Stephen Deken
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden