Fixed namespace formatting, added HTML5::format method, add XML compatibility for the output tags.