summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/patternist/simpleXHTML.xq
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/patternist/simpleXHTML.xq')
-rw-r--r--doc/src/snippets/patternist/simpleXHTML.xq2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/src/snippets/patternist/simpleXHTML.xq b/doc/src/snippets/patternist/simpleXHTML.xq
new file mode 100644
index 0000000..fda5371
--- /dev/null
+++ b/doc/src/snippets/patternist/simpleXHTML.xq
@@ -0,0 +1,2 @@
+declare namespace x = "http://www.w3.org/1999/xhtml/";
+doc("index.html")/x:html/x:body/x:p[@class="example"]