Many fixes to the Element and ContainerList to_xml() methods.
The objects within these are now properly converted to XML with the to_xml() method beign called if it exists.
Authored by: bugman 2009-10-09
Parent: [r9716]
Child: [r9718]