Lines Matching refs:xpath
3183 var xpath = ".//*[local-name()='ul' or local-name()='UL']" +
3186 var result = document.evaluate(xpath, el, null,
3263 x = Selector.xpath, le, m, len = ps.length, name;
3266 this.xpath = Selector._cache[e]; return;
3283 this.xpath = this.matcher.join('');
3284 Selector._cache[this.expression] = this.xpath;
3304 return document._getElementsByXPath(this.xpath, root);
3370 xpath: {
3389 return new Template(Selector.xpath.operators[m[2]]).evaluate(m);
3392 var h = Selector.xpath.pseudos[m[1]];
3395 return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m);
3416 x = Selector.xpath, le, v, len = p.length, name;
3434 return Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ", m);
3437 return Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ", m);
3440 return Selector.xpath.pseudos.nth("position() ", m);
3443 return Selector.xpath.pseudos.nth("(last() + 1 - position()) ", m);
3446 m[6] = "1"; return Selector.xpath.pseudos['nth-of-type'](m);
3449 m[6] = "1"; return Selector.xpath.pseudos['nth-last-of-type'](m);
3452 var p = Selector.xpath.pseudos; return p['first-of-type'](m) + p['last-of-type'](m);