Xembly is an "Assembly for XML", an imperative language for building and modifying XML documents. Current version is 0.22.1. Check us out at Github. Here is JavaDoc. See also test coverage.