An XMLList object with one element is treated like an XML object and all the methods as for the XML object apply but not when there are more than one element in the XMLList object.