changeset 0 | 1918ee327afb |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/xmlpatterns/recipes/files/liquidIngredientsInSoup.xq Mon Jan 11 14:00:40 2010 +0000 @@ -0,0 +1,5 @@ +(: All liquid ingredients form Mushroom Soup. :) +declare variable $inputDocument external; + +doc($inputDocument)/cookbook/recipe[@xml:id = "MushroomSoup"]/ingredient[@unit = "milliliters"]/ +<p>{@name, @quantity, @unit}</p>