implementation of a rewriter generator which works on XML files.

The standard generators only work on HTML and XHTML, not generic XML documents.