From b7407aa040c9886b103fb9a20d77d17d1b4a7c72 Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 8 Aug 2007 14:21:36 +0000 Subject: [PATCH] web commit by JoshTriplett: XPath conditionals? --- doc/todo/pagespec_relative_to_a_target.mdwn | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 - \ No newline at end of file + + +> 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]] -- 2.44.0