XsltSettings Constructor (Boolean, Boolean)
.NET Framework (current version)
Initializes a new instance of the XsltSettings class with the specified settings.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- enableDocumentFunction
-
Type:
System::Boolean
true to enable support for the XSLT document() function; otherwise, false.
- enableScript
-
Type:
System::Boolean
true to enable support for embedded scripts blocks; otherwise, false.
Security Note
|
|---|
XSLT scripting should be enabled only if you require script support and you are working in a fully trusted environment. If you enable the document() function, you can restrict the resources that can be accessed by passing an XmlSecureResolver object to the Transform method. |
.NET Framework
Available since 2.0
Available since 2.0
Show:
