summaryrefslogtreecommitdiff
path: root/doc/src/snippets/patternist/introductionExample.xq
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/patternist/introductionExample.xq')
-rw-r--r--doc/src/snippets/patternist/introductionExample.xq3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/src/snippets/patternist/introductionExample.xq b/doc/src/snippets/patternist/introductionExample.xq
new file mode 100644
index 0000000..1a309dd
--- /dev/null
+++ b/doc/src/snippets/patternist/introductionExample.xq
@@ -0,0 +1,3 @@
+<bibliography>
+{doc("library.xml")/bib/book[publisher="Addison-Wesley" and @year>1991]/<book year="{@year}">{title}</book>}
+</bibliography>