SharePoint OOTB xsl templates - Hack-Hack-Hack

Today I was working with some collegues on some xsl within SharePoint, and we wanted to know where the following template came from:

<xsl:apply-template select="." mode="RenderView">

After some digging through the xsl templates in the SharePoint root, we found %SharePointRoot%\TEMPLATE\LAYOUTS\XSL\Internal.xsl, which contained the template "Hack-Hack-Hack"

<

 

 

 

xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- This is a hack ensuring that XSLT runtime tables are changed incrementally. -->
<xsl:template match="Hack-Hack-Hack">

 

 

 

I am not sure whether or not this should have made it to the release of SharePoint 2010 ;)

 

Published Tue, Dec 28 2010 1:05 PM by Bas
Filed under: ,

Leave a Comment

(required) 
(required) 
(optional)
(required) 
Please add 8 and 1 and type the answer here: