Can anybody help me understand how namespaces works with NSXMLNode etc. There 
is the method

+ [NSXMLNode elementWithName:(NSString *)name URI:(NSString *)URI]


 Which takes an namespace URI, but doesn't seem to use it. I have seems an 
example from google where they pass the namespace URI and then use a name which 
uses the namespace prefix as part of the name, for exmaple

[NSXMLNode elementWithName:@"xsl:value-of" 
URI:@"http://www.w3.org/1999/XSL/Transform";];

If you have to add the prefix to the name then what is the point of the URI 
argument.

Nathan Day
http://homepage.mac.com/nathan_day/

_______________________________________________

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 arch...@mail-archive.com

Reply via email to