summaryrefslogtreecommitdiffstats
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 0000000000..6888c3103c
--- /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>