diff options
Diffstat (limited to 'lib/Tree/Transform/XSLTish')
-rw-r--r-- | lib/Tree/Transform/XSLTish/Optimizer.pod | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Tree/Transform/XSLTish/Optimizer.pod b/lib/Tree/Transform/XSLTish/Optimizer.pod new file mode 100644 index 0000000..ff46565 --- /dev/null +++ b/lib/Tree/Transform/XSLTish/Optimizer.pod @@ -0,0 +1,11 @@ +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> + +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)?> ?? |