Support for XML and some rewriting

A useful tool that would be even more useful with XML