Adapt for XHTML.