rem: htmlInput = document.createElement("html:input"); 
add: htmlInput = document.createElementNS("http: 
context: function OpenEditNode(){    dump("OpenEditNode entered.\n");    // clear any single-click/edit timeouts    if (timerID != null)    {        clearTimeout(timerID);        timerID = null;    }    // XXX uncomment the following line to replace the whole input row we do this    // (and, therefore, only allow editing on the name column) until we can    // arbitrarily change the content model (bugs prevent this at the moment)    gEditNode = gEditNode.parentNode;    var name = gEditNode.parentNode.getAttribute("Name");    dump("Single click on '" + name + "'\n");    var theParent = gEditNode.parentNode;    dump("Parent node is a " + theParent.nodeName + "\n\n");    saveNode = gEditNode;    // unselect all nodes!    var select_list = document.getElementsByAttribute("selected", "true");    dump("# of Nodes selected: " + select_list.length + "\n\n");    for (var nodeIndex=0; nodeIndex<select_list.length; nodeIndex++)    {        var node = select_list[nodeIndex];        if (node)        {          dump("Unselecting node "+node.getAttribute("Name") + "\n");          node.removeAttribute("selected");        }    }    // XXX for now, just remove the child from the parent    // optimally, we'd like to not remove the child-parent relationship    // and instead just set a "display: none;" attribute on the child node//    gEditNode.setAttribute("style", "display: none;");//    dump("gEditNode hidden.\n");    theParent.removeChild(gEditNode);    gEditNode = null;    dump("gEditNode removed.\n");    // create the html:input node    htmlInput = document.createElement("html:input");    htmlInput.setAttribute("value", name);    htmlInput.setAttribute("onkeypress", "return EditNodeKeyPress(event)");    theParent.appendChild(htmlInput);    dump("html:input node added.\n");    htmlInput.focus();    dump("OpenEditNode done.\n");    return(true);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d990c6e92d1447f19d03966ea18d771c69c3ef9f/sb-file-panel.js/clean/editor/ui/composer/content/sb-file-panel.js