• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
xpath variable in NSXMLNode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: [iPhone] UINavigationController and UINavigationBar
  • Next by Date: Re: Leopard for development / testing.
  • Previous by thread: Suspend the execution of background thread on modal window launch
  • Next by thread: .h file won't load
  • Index(es):
    • Date
    • Thread