| changeset 7 | f7bc934e204c |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/util/examples/xmlpatterns/recipes/files/preparationLessThan30.xq Wed Mar 31 11:06:36 2010 +0300 @@ -0,0 +1,9 @@ +(: All recipes taking 10 minutes or less to prepare. :) +declare variable $inputDocument external; + +doc($inputDocument)/cookbook/recipe/time[@unit = "minutes" and xs:integer(@quantity) <= 10]/ +<p> + { + concat(../title, ' (', @quantity, ' ', @unit, ')') + } +</p>