Eric Palmitesta wrote:
> Hey Mary, this seems fundamentally important, can you elaborate?
> (For example why x$/node() rather than $x/child::*)
If your element is
<test><e/>text</test>
the created element will be:
<test new="new">text<e/></test>
because you select the text nodes first. You can also use the '|'
operator instead of ',' (except for the created attribute, because
document order is defined only between nodes in the same document).
So that is not the matter of using node() instead of *, but to select
all child nodes in their relative order instead of selecting all text
nodes, then all element nodes.
Regards,
--drkm
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general