Handling XHTML as a document.

Resolves #101.