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)
Syntax
'Declaration
Public Overrides Sub SaveCustomizedXsl ( _
customizedXsl As Byte(), _
hashKey As String _
)
'Usage
Dim instance As CmsDataFormWebPart
Dim customizedXsl As Byte()
Dim hashKey As String
instance.SaveCustomizedXsl(customizedXsl, _
hashKey)
public override void SaveCustomizedXsl(
byte[] customizedXsl,
string hashKey
)
Parameters
customizedXsl
Type: []A 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
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.