Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CmsDataFormWebPart.SaveCustomizedXsl method

Saves the 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 SaveCustomizedXsl(
	byte[] customizedXsl,
	string hashKey


Type: []

A 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

If the default XSL is changed in any way, a delta between the original safe XSL and the new XSL is created in order to keep XSL transforms from shutting down the server. The delta, which possibly is unsafe, is compiled with added code to protect against infinite loops. The SaveCustomizedXsl(System.Byte[],System.String) method allows subclasses of the DataFormWebPart class to cache the results of the compilation of the delta.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.