rem: if (node.nodeType == 3) { 
add:        if (node.nodeName.indexOf("/") > -1 || node.nodeName == "" || node.nodeName == "#document" || node.nodeName == "#document-fragment" || node.nodeName == "#cdata-section" || node.nodeName == "#xml-declaration" || node.nodeName == "#whitespace" || node.nodeName == "#significat-whitespace" ) { return; }   if (node.nodeName == "#comment") { try { domParentNode.appendChild(dom.createComment(node.nodeValue)); } catch (ex) {  } } else if (node.nodeType == 3) { 
context: 		function loadNode(dom, domParentNode, node, helper)		{			if (node.nodeType == 3)			{							domParentNode.appendChild(dom.createTextNode(node.nodeValue));			}			else			{				var domNode = dom.createElement(node.nodeName.toLowerCase());				if (!node.id)				{					node.id = node.uniqueID;				}				domParentNode.appendChild(domNode);				loadAttributes(dom, domNode, node);				var length = node.childNodes.length;				for(var i = 0; i < length; i ++ )				{					loadNode(dom, domNode, node.childNodes[i], helper);				}				node.attachEvent("onpropertychange", onPropertyChangeEventHandler);			}		}
meta: 3428	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3428/98b1748ad58b776830e4f0917065fcb28aa24e99/html-xpath-patched.js/clean/code/javascript/html-xpath/html-xpath-patched.js