Specifies the XSLT features to support during execution of the XSLT style sheet.
Assembly: System.Xml (in System.Xml.dll)
Embedded script blocks and the XSLT document() function are optional features on the XslCompiledTransform class. These features are disabled by default. The class specifies which of these optional features to support. Features are enabled or disabled using the class properties. The object is then passed to the XslCompiledTransform.Load method.
XSLT style sheets can include references to other files and embedded script blocks. A malicious user can exploit this by supplying you with data or style sheets that when executed can cause your system to process until the computer runs low on resources. Do not enable scripting or the document() function unless the style sheet comes from a trusted source. If you cannot verify the source of the style sheet, or if the style sheet does not come from a trusted source, use the default XSLT settings.
The following example loads a style sheet and enables XSLT script support.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.