summaryrefslogtreecommitdiff
path: root/lib/Tree/Transform/XSLTish/Optimizer.pod
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Tree/Transform/XSLTish/Optimizer.pod')
-rw-r--r--lib/Tree/Transform/XSLTish/Optimizer.pod2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Tree/Transform/XSLTish/Optimizer.pod b/lib/Tree/Transform/XSLTish/Optimizer.pod
index ff46565..ce855d5 100644
--- a/lib/Tree/Transform/XSLTish/Optimizer.pod
+++ b/lib/Tree/Transform/XSLTish/Optimizer.pod
@@ -2,6 +2,8 @@ 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