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);
		}
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);
		}
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 ) ; }
serialize to XML
@static
serialize to XML