summaryrefslogtreecommitdiff
path: root/examples/xmlpatterns/recipes/files/allRecipes.xq
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xmlpatterns/recipes/files/allRecipes.xq')
-rw-r--r--examples/xmlpatterns/recipes/files/allRecipes.xq4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/xmlpatterns/recipes/files/allRecipes.xq b/examples/xmlpatterns/recipes/files/allRecipes.xq
new file mode 100644
index 0000000..6888c31
--- /dev/null
+++ b/examples/xmlpatterns/recipes/files/allRecipes.xq
@@ -0,0 +1,4 @@
+(: Select all recipes. :)
+declare variable $inputDocument external;
+
+doc($inputDocument)/cookbook/recipe/<p>{string(title)}</p>