xmlsql This is a tool that has been used for many years and finally made open source. It is scripting using XML and making SQL, with embedded access to SQL. See Manual