setInnerHTML for XHTML documents

When running under XML mode, normalize the incoming HTML in setInnerHTML.
@spicyj I imagine it should be quite simple, but perhaps SVG could be an obstacle?