Contents

element(withName:)

Returns an Xmlelement object with a given tag identifier, or name

Declaration

class func element(withName name: String) -> Any

Parameters

  • 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