.. _XML.length: ================================================ XML.length ================================================ :ref:`number` **length** () Description ----------- Returns the number of elements contained in an XML list. If this XML object is not a list, returns 1.