XML.length

Number length ()

Description

Returns the number of elements contained in an XML list. If this XML object is not a list, returns 1.