# Move element node
echo '<x id="1"><a/><b/></x>' | ./xmlstarlet ed -m "//b" "//a"

