summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/patternist/copyAttribute.xq
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/patternist/copyAttribute.xq')
-rw-r--r--doc/src/snippets/patternist/copyAttribute.xq9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/snippets/patternist/copyAttribute.xq b/doc/src/snippets/patternist/copyAttribute.xq
new file mode 100644
index 0000000..40e4494
--- /dev/null
+++ b/doc/src/snippets/patternist/copyAttribute.xq
@@ -0,0 +1,9 @@
+<html>
+ <body>
+ <p>
+ {
+ doc('feed.rss')/rss/@version
+ }
+ </p>
+ </body>
+</html>