Returns the child element nodes (as NSXMLElement objects) of the receiver that have a specified name.
Original signature is '- (NSArray *)elementsForName:(NSString *)name'
Available in Mac OS X v10.4 and later.
Declaration Syntax
Parameters
- name (NSString)
- A string specifying the name of the child element nodes to find and return. If name is a qualified name, then this method invokes elementsForLocalName:URI: with the URI parameter set to the URI associated with the prefix. Otherwise comparison is based on string equality of the qualified or non-qualified name.
Return Value
An array of of NSXMLElement objects or an empty array if no matching children can be found.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)