On 3 Apr '08, at 1:40 PM, Mac QA wrote:
Does the nodesForXPath:error: API in Cocoa just not support the features of XPath for matching nodes with specific attribute values? Or am I just doing something totally wrong? Any suggestions or pointers to examples would be greatly appreciated. Thanks!
That should all work. I just took a look at the Apple "NewMusic" sample, which uses XPath to scrape info out of eMusic's RSS feed entries, and it uses path expressions like
//a[starts-with(@href,'http://www.emusic.com/artist/')]/@hrefIt's not exactly what you're doing, but it's definitely matching on attribute values. You might look at the sample code for clues.
—Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]