Tools for creating well-formed XML documents