Added two more methods for the XML output, to be handy (and to be used by the HTMLBuilder)
Added simple testcase on html building. (from a (non-compiling) test base from fdevriese)
Fixed multiple issues in the html() method implementation. Now passes the simple test case. Needs further testing, though.