blob: ce855d5716b2cb18dffa2accccc1a6e76a84a94a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
C</> is in fact C</child:> (so C</whatever:foo> does not count) C<//> can also be C<descendants(-or-self)?> (check that option) C<..> can also be C<parent> use Tree::XPathEngine::_parse to get a properly parsed XPath path starts with C</>, apply only from root path contains C</> but no C<//>, apply only at C<count('/') - count('..')> upwards path contains C</> but no C<..>, start at C<count('/') - count('..')> upwards (ok, C<//> counts as 1 C</>) and go up to root what about C<ancestors(-or-self)?> ??
|