correction for html, more xml snippets