context: xml.toString = function(node, ident){	if (node == null)		throw 'xml.toString: node is null';		if (!ident)		ident = '';			//--- skip document node	if (node.nodeType == Node.DOCUMENT_NODE)		node = node.firstChild;	var result = ident +'<'+ node.nodeName;	//--- handle attributes	for (var i=0; i<node.attributes.length; i++)	{		var name  = node.attributes[i].name;		var value = node.getAttribute(name);				result += ' '+ name +'="'+ xml.escape(value) +'"';	}	result += '>\n';	//--- handle children	result += xml.toStringCont(node, ident);	return result + ident +'</'+ node.nodeName +'>\n';}
meta: 6986	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6986/774711041c241914e6fab3c51d9c469abad78755/xml.js/buggy/web/geonetwork/scripts/core/kernel/xml.js