API DOCS

DOCS & TUTORIALS » API DOCS » xajax_js » xajax_core_uncompressed.js » xajax.tools » xajax.tools._objectToXML

Function: xajax.tools._objectToXML


xajax.tools._objectToXML = function(obj, guard) { }

Parameters:

obj - The object or array to convert.guard - An object used to track the level of recursionwhen encoding javascript objects. When an objectcontains a reference to it's parent and the parentcontains a reference to the child, an infiniterecursion will cause some browsers to crash.

Returns:

string - the xml representation of the object or array.

See Also:

xajax.config.maxObjectDepth and xajax.config.maxObjectSize
 



XAJAX on SourceForge.net
Support this project Valid XHTML 1.0 Transitional