NSXMLElement and namespaces
NSXMLElement and namespaces
- Subject: NSXMLElement and namespaces
- From: Nathan Day <email@hidden>
- Date: Sat, 03 Apr 2010 18:03:02 +1100
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 (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