code: function(o) {
  			if(!XML || !YAHOO.lang.isFunction(XML.ObjTree) ) {
  				alert("ObjTree.js not loaded.");
  				return null;
  			}
  			var xotree = new XML.ObjTree();
  			return xotree.writeXML(o);
  		}
docs: serialize to XML
  @static