 return paths.length ? "/" + paths.join("/") : null; 
 return paths.length ? "/" + paths.join("/") : null; 
this.getElementTreeXPath = function(element){    var paths = [];        for (; element && element.nodeType == 1; element = element.parentNode)    {        var index = 0;        for (var sibling = element.previousSibling; sibling; sibling = sibling.previousSibling)        {            if (sibling.localName == element.localName)                ++index;        }                var tagName = element.localName.toLowerCase();        var pathIndex = (index ? "[" + (index+1) + "]" : "");        paths.splice(0, 0, tagName + pathIndex);    }        return paths.length ? "/" + paths.join("/") : null;    };
2454	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2454/8237a6359bebacf3e34f1134ef713c687c8e3edb/lib.js/clean/extension/content/firebug/lib.js