For one of my projects, I've created an Assembly-like imperative language for XML manipulations. It is much simpler than XSLT and XQuery, but does almost the same when simple changes are required. At the moment it is implemented in Java only, but if there is an interest I can port it to other platforms.
Assembly for XML, imperative XML modification language | Heykuki News