• 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
Re: [iphone] Libxml2 with a wrapper to NSArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iphone] Libxml2 with a wrapper to NSArray


  • Subject: Re: [iphone] Libxml2 with a wrapper to NSArray
  • From: Philip Vallone <email@hidden>
  • Date: Fri, 04 Dec 2009 16:44:13 -0500

Good point - Thanks



On Dec 4, 2009, at 1:32 PM, Alexander Spohr wrote:

>
> Am 04.12.2009 um 10:09 schrieb Philip Vallone:
>
>> Next I had a syntax error when declaring my NSArray and like you said it was pointing to an empty array:
>>
>> 	NSArray* result = [NSArray arrayWithArray:PerformXMLXPathQuery(xmlData, @"//mynode")];
>
> Why are you putting the contents of the array you got into another array?
> Just keep the array you get:
> NSArray* result = PerformXMLXPathQuery(xmlData, @"//mynode");
>
> 	atze
>

_______________________________________________

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

References: 
 >[iphone] Libxml2 with a wrapper to NSArray (From: Philip Vallone <email@hidden>)
 >Re: [iphone] Libxml2 with a wrapper to NSArray (From: Fritz Anderson <email@hidden>)
 >Re: [iphone] Libxml2 with a wrapper to NSArray (From: Philip Vallone <email@hidden>)
 >Re: [iphone] Libxml2 with a wrapper to NSArray (From: Alexander Spohr <email@hidden>)

  • Prev by Date: NSRuleEditor rows binding
  • Next by Date: NSToolbar problem in 10.6
  • Previous by thread: Re: [iphone] Libxml2 with a wrapper to NSArray
  • Next by thread: Answered: How do I bind ManagedObject's relationships to a view?
  • Index(es):
    • Date
    • Thread