summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/patternist/twoSVGElements.xq
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/patternist/twoSVGElements.xq')
-rw-r--r--doc/src/snippets/patternist/twoSVGElements.xq5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/src/snippets/patternist/twoSVGElements.xq b/doc/src/snippets/patternist/twoSVGElements.xq
new file mode 100644
index 0000000..ab4fe35
--- /dev/null
+++ b/doc/src/snippets/patternist/twoSVGElements.xq
@@ -0,0 +1,5 @@
+declare namespace s = "http://www.w3.org/2000/svg";
+declare default element namespace "http://www.w3.org/2000/svg";
+let $doc := doc('image.svg')
+return ($doc/svg,
+ $doc/s:svg)