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)
Syntax
'Declaration
Public Overrides Sub FetchCustomizedXsl ( _
<OutAttribute> ByRef customizedXsl As Byte(), _
<OutAttribute> ByRef hashKey As String _
)
'Usage
Dim instance As CmsDataFormWebPart
Dim customizedXsl As Byte()
Dim hashKey As String
instance.FetchCustomizedXsl(customizedXsl, _
hashKey)
public override void FetchCustomizedXsl(
out byte[] customizedXsl,
out string hashKey
)
Parameters
customizedXsl
Type: []Compiled XSL that is a delta of the customized XSL and the default XSL, and some protection code
hashKey
Type: System.StringA hash key that uniquely identifies the compiled delta XSL
Remarks
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.