rem: this.objectToXML = function(obj) { var sXml = "<xjxobj>"; for (i in obj) { try { if (i == 'constructor') continue; if (obj[i] && typeof(obj[i]) == 'function') continue;  var key = i; var value = obj[i]; if (value && typeof(value)=="object" && (value.constructor == Array ) && this.depth <= 50) { this.depth++; value = this.objectToXML(value); this.depth--; }  sXml += "<e><k>"+key+"</k><v>"+value+"</v></e>";  } catch(e) { if (xajaxDebug) this.DebugMessage(e); } } sXml += "</xjxobj>";  return sXml; } 
add: this.objectToXML=function(obj){var sXml="<xjxobj>";for(i in obj){try{if(i=='constructor') continue;if(obj[i]&&typeof(obj[i])=='function') continue;var key=i;var value=obj[i];if(value&&typeof(value)=="object"&& (value.constructor==Array )&&this.depth <=50){this.depth++;value=this.objectToXML(value);this.depth--;} sXml+="<e><k>"+key+"</k><v>"+value+"</v></e>";} catch(e){if(xajaxDebug)this.DebugMessage(e);} } sXml+="</xjxobj>";return sXml;} 
context: 	this.objectToXML = function(obj)	{		var sXml = "<xjxobj>";		for (i in obj)		{			try			{				if (i == 'constructor')					continue;				if (obj[i] && typeof(obj[i]) == 'function')					continue;									var key = i;				var value = obj[i];				if (value && typeof(value)=="object" && 					(value.constructor == Array					 ) && this.depth <= 50)				{					this.depth++;					value = this.objectToXML(value);					this.depth--;				}								sXml += "<e><k>"+key+"</k><v>"+value+"</v></e>";							}			catch(e)			{				if (xajaxDebug) this.DebugMessage(e);			}		}		sXml += "</xjxobj>";			return sXml;	}
meta: 8936	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8936/e92bdf0de1d9e636ce0884356df4ebfb27222ea3/xajax.js/clean/trunk/3dparty/xajax/xajax_js/xajax.js