--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/src/snippets/patternist/introExample2.xq Thu Apr 08 14:19:33 2010 +0300
@@ -0,0 +1,5 @@
+<bibliography>
+{
+ doc($file)/bib/book[publisher = $publisher and @year > $year]/<book year="{@year}">{title}</book>
+}
+</bibliography>