changeset 0 | 1918ee327afb |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/xmlpatterns/recipes/files/preparationTimes.xq Mon Jan 11 14:00:40 2010 +0000 @@ -0,0 +1,5 @@ +(: All recipes with preparation times. :) +declare variable $inputDocument external; + +doc($inputDocument)/cookbook/recipe/ +<recipe title="{title}" time="{time/@quantity} {time/@unit}"/>