add: dump("HTML Attrs: n: " + name + "; v: " + value + "\n"); element.setAttribute(name,value); }  var styleString = ""; for(var i = 0; i < CSSAList.childNodes.length; i++) { var item = CSSAList.childNodes[i]; var name = TrimString(item.firstChild.firstChild.firstChild.nodeValue); var value = TrimString(item.firstChild.lastChild.firstChild.value); if(name.lastIndexOf(":") == (name.length - 1) && name.length > 0) name = name.substring(0,name.length-1); if(value.lastIndexOf(";") == (value.length - 1) && value.length > 0) value = name.substring(0,value.length-1); if(i == (CSSAList.childNodes.length - 1)) styleString += name + ": " + value + ";"; else styleString += name + ": " + value + "; "; } dump("stylestring: ||" + styleString + "||\n"); var name = "width"; if(styleString.length > 0) { element.setAttribute(name,styleString); }  for(var i = 0; i < JSEAList.childNodes.length; i++) { var item = JSEAList.childNodes[i]; name = TrimString(item.firstChild.firstChild.firstChild.nodeValue); value = TrimString(item.firstChild.lastChild.firstChild.value); 
context: function UpdateObject(){  var treekids = document.getElementById("attributelist");  for(i = 0; i < treekids.childNodes.length; i++)  {    var item = treekids.childNodes[i];    var name = item.firstChild.firstChild.firstChild.nodeValue;    var value = TrimString(item.firstChild.lastChild.firstChild.value);    element.setAttribute(name,value);  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d20641b38c52d19940ba5e182c9929b49d6ae4c9/EdAdvancedEdit.js/buggy/editor/ui/dialogs/content/EdAdvancedEdit.js