Mary Holstege wrote:

> Actually, you need to be a little careful here.
> Attributes should come first, and the query above will reorder
> text children relative to your element children.  What you want is:

> element {node-name($x)} {
>    $x/@*,
>    attribute new {"new"},
>    $x/node()
> }

  Yes, I wasn't careful enough, and only changed the literal element. 
You're perfectly right.  Thanks for pointing that out!

   Regards,

--drkm




















      
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to