aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-08-08 14:21:36 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-08-08 14:21:36 +0000
commitb7407aa040c9886b103fb9a20d77d17d1b4a7c72 (patch)
treec1fc0c24b9b64b68404b00f771d8a1de0ddf5da6
parente04cb5c01362da8f597342fd38167910050bf0cd (diff)
downloadikiwiki-b7407aa040c9886b103fb9a20d77d17d1b4a7c72.tar
ikiwiki-b7407aa040c9886b103fb9a20d77d17d1b4a7c72.tar.gz
web commit by JoshTriplett: XPath conditionals?
-rw-r--r--doc/todo/pagespec_relative_to_a_target.mdwn8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/todo/pagespec_relative_to_a_target.mdwn b/doc/todo/pagespec_relative_to_a_target.mdwn
index 638cd40f7..b04b51fd1 100644
--- a/doc/todo/pagespec_relative_to_a_target.mdwn
+++ b/doc/todo/pagespec_relative_to_a_target.mdwn
@@ -86,4 +86,10 @@ diff -urNX ignorepats ikiwiki/IkiWiki/Plugin/relative.pm ikidev/IkiWiki/Plugin/r
+} #}}}
+
+1
-</pre> \ No newline at end of file
+</pre>
+
+> This looks really interesting. It reminds me of XPath and its conditionals.
+> Those might actually work well adapted to pagespecs. For instance, to write
+> "match any page with a child blah", you could just write *[blah] , or if you
+> don't want to use relative-by-default in the conditionals, *[./blah].
+> -- [[JoshTriplett]]