diff options
Diffstat (limited to 'doc/src/snippets/patternist/copyID.xq')
-rw-r--r-- | doc/src/snippets/patternist/copyID.xq | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/src/snippets/patternist/copyID.xq b/doc/src/snippets/patternist/copyID.xq new file mode 100644 index 0000000..2409caf --- /dev/null +++ b/doc/src/snippets/patternist/copyID.xq @@ -0,0 +1,3 @@ +(: Copy the value of xml:id attribute from other.html. This is a comment by the way! :) +<html xmlns="http://www.w3.org/1999/xhtml/" + xml:id="{doc("other.html")/html/@xml:id}"/> |