That easily done, PHP, JSP, whatever; even XSLT done by mistake would do that by mistake. Although HTML has to be in properly formed XML format.