xpath variable in NSXMLNode
xpath variable in NSXMLNode
- Subject: xpath variable in NSXMLNode
- From: Rainer Standke <email@hidden>
- Date: Wed, 9 Dec 2009 21:51:18 -0800
Hello,
I'd like to use a variable in an XPath query like this, where the
variable would be $xPathVar1:
NSArray *nodes = [document nodesForXPath:@".//div[@class = 'filmo']/ol/
li/a/text() = $xPathVar1" error:&err];
Is this possible? How would I declare and set the variable?
Thanks,
Rainer
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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