Added simple version for 'xhtml' output.