xmlsh: simplify