CmsDataFormWebPart.FetchCustomizedXsl method

Retrieves cached compiled XSL that differs from the default XSL.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

public override void FetchCustomizedXsl(
	out byte[] customizedXsl,
	out string hashKey


Type: []

Compiled XSL that is a delta of the customized XSL and the default XSL, and some protection code

Type: System.String

A hash key that uniquely identifies the compiled delta XSL

In order to keep XSL transforms from taking down the server, if the default XSL has been changedin any way, SharePoint 2013 creates a delta between the original "safe" XSL and the new XSL. The delta, which possibly is unsafe, is compiled with some added code to protect against infinite loops. The FetchCustomizedXsl(System.Byte[]@,System.String@) method enables subclasses of the DataFormWebPart class to cache the results of the compilation of the delta. If the compiled delta XSL is cached as a SaveCustomizedXsl([], String) method, then the compiled delta XSL is retrieved by the FetchCustomizedXsl(System.Byte[]@,System.String@) method.