Re: NSXMLDocument and XSLT
Re: NSXMLDocument and XSLT
- Subject: Re: NSXMLDocument and XSLT
- From: "stephen joseph butler" <email@hidden>
- Date: Fri, 13 Apr 2007 22:00:36 -0500
On 4/13/07, Torsten Curdt <email@hidden> wrote:
According to the compiler this is not OK:
...
NSXMLDocument *result = (NSXMLDocument *) [doc
objectByApplyingXSLTAtURL:url, arguments:nil, error:&err];
main.m:49: (Messages without a matching method signature will be
assumed to return 'id' and accept '...' as arguments.)
main.m:49: warning: 'NSXMLDocument' may not respond to '-
objectByApplyingXSLTAtURL:::'
main.m:49: error: 'error' undeclared (first use in this function)
main.m:49: error: 'arguments' undeclared (first use in this function)
You have some extra commas in there. You don't put commas after named
parameters.
_______________________________________________
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