branch | RCL_3 |
changeset 8 | 3f74d0d4af4c |
parent 0 | 1918ee327afb |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/src/snippets/patternist/copyID.xq Thu Apr 08 14:19:33 2010 +0300 @@ -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}"/>