XML.parent

XML parent ()

Description

Returns the parent object of this XML object.

The root object, as returned by the XML constructor, does not have a parent and returns null. Note that the E4X standard does not define what happens if this XML object is a list containing elements with multiple parents.