Omitting "xmlns" from output HTML

 

Sometimes the HTML that is produced by sharpcms contains a lot of xmlns="" attributes on most tags. You can avoid this by adding xmlns="http://www.w3.org/1999/xhtml" to the <xsl:stylesheet />-tag in your XSLT-files.

Credit: Ithomeneas, who posted this on the mailing list.