rem: var template = this.mOutliner.getElementsByTagNameNS(kXULNSURI, "template")[0]; 
add: var template = this.mTree.getElementsByTagNameNS(kXULNSURI, "template")[0]; 
context:   initTemplate: function()  {    var template = this.mOutliner.getElementsByTagNameNS(kXULNSURI, "template")[0];    this.mTemplate = template;    this.clearChildren(template);    var rule = document.createElementNS(kXULNSURI, "rule");    template.appendChild(rule);    this.mRule = rule;    this.createDefaultConditions();    var bindings = document.createElementNS(kXULNSURI, "bindings");    rule.appendChild(bindings);    this.mBindings = bindings;    this.createDefaultAction();  },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/inTreeBuilder.js/buggy/extensions/inspector/resources/content/jsutil/xul/inTreeBuilder.js