• 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
NSXMLElement and namespaces
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Why doesn't -[NSArrayController selection] et al fire keyPathsForValuesAffectingKey?
  • Next by Date: Re: Terminating subtasks reliably
  • Previous by thread: Re: Invalidated managed objects
  • Next by thread: CGPoint and KVO
  • Index(es):
    • Date
    • Thread