Added basic support for XHTML output.