• 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: "Sean McBride" <email@hidden>
  • Date: Thu, 3 Dec 2009 18:44:40 -0500
  • Organization: Rogue Research Inc.

On 12/3/09 6:40 PM, Philip Vallone said:

>However, I am not sure how to call this :
>
>NSArray *PerformHTMLXPathQuery(NSData *document, NSString *query)
>
>
>Here is my code:
>
>	NSString *filePath = [[NSBundle mainBundle] pathForResource:@"manifest"
>ofType:@"xml"];
>	NSData* xmlData = [filePath dataUsingEncoding:NSUTF8StringEncoding];
>	NSArray *resultNodes = [NSArray array];
>	resultNodes = PerformXPathQuery(xmlData, "//mynode");
>
>Here is my error:
>
>warning: implicit declaration of function 'PerformXPathQuery'

"//mynode" is not an NSString.  You want @"//mynode".  The @ makes it an
NSString.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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>)

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