Re: nodesForXPath does not seem to work in Address Book Plug-Ins
Re: nodesForXPath does not seem to work in Address Book Plug-Ins
- Subject: Re: nodesForXPath does not seem to work in Address Book Plug-Ins
- From: "Gernot Poetsch" <email@hidden>
- Date: Thu, 7 Jun 2007 07:56:30 +0200
Hi!
Thanks for the replies! Yeah, I checked for the error, and it is
nil... I left the error check out of the example code to keep it at
the smallest possible size. I think I'll file a bug report and look
for alternatives to using XPath...
cheers,
Gernot.
On 6/7/07, Tomas Franzén <email@hidden> wrote:
On 6 jun 2007, at 21.07, Gernot Poetsch wrote:
> I've got a strange problem developing an Address Book Plug-in. In the
> plugin I parse XML-Data, but somehow -[NSXMLDocument
> nodesForXPath:error:] does always return an empty array.
> NSArray *xPathResults = [document nodesForXPath:@"." error:NULL];
Hi,
Have you tried using the error argument to see if there's actually an
error reported?
Tomas Franzén
Lighthead Software
http://www.lightheadsw.com/
_______________________________________________
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