element(withName:)
Returns an Xmlelement object with a given tag identifier, or name
Declaration
class func element(withName name: String) -> AnyParameters
- name:
A string that is the name (or tag identifier) of an element.
Return Value
An NSXMLElement object or nil if the object couldn’t be created.
Discussion
The equivalent XML markup is <``name``></``name``>.
See Also
Creating and Initializing Node Objects
init(kind:)init(kind:options:)document()document(withRootElement:)element(withName:children:attributes:)element(withName:stringValue:)element(withName:uri:)attribute(withName:stringValue:)attribute(withName:uri:stringValue:)text(withStringValue:)comment(withStringValue:)namespace(withName:stringValue:)dtdNode(withXMLString:)predefinedNamespace(forPrefix:)processingInstruction(withName:stringValue:)