System.Xml 2.0.0.0 4.0.0.0 System.Object

Embedded script blocks and the XSLT document() function are optional features on the 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 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.

Specifies the XSLT features to support during execution of the XSLT style sheet.

- Constructor
  2.0.0.0
  4.0.0.0

  The new object does not support the XSLT document() function or embedded script blocks.

  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 object to the method.

  Initializes a new instance of the class with default settings.

- Constructor
  2.0.0.0
  4.0.0.0

  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 object to the method.

  Initializes a new instance of the class with the specified settings.

  true to enable support for the XSLT document() function; otherwise, false.
  true to enable support for embedded scripts blocks; otherwise, false.
- Property
  2.0.0.0
  4.0.0.0
  System.Xml.Xsl.XsltSettings To be added. To be added.

  Gets an object with default settings. Support for the XSLT document() function and embedded script blocks is disabled.

- Property
  2.0.0.0
  4.0.0.0
  System.Boolean To be added.

  If you enable the document() function, you can restrict the resources that can be accessed by passing an object to the method.

  Gets or sets a value indicating whether to enable support for the XSLT document() function.

- Property
  2.0.0.0
  4.0.0.0
  System.Boolean To be added.

  XSLT scripting should be enabled only if you require script support and you are working in a fully trusted environment.

  Gets or sets a value indicating whether to enable support for embedded script blocks.

- Property
  2.0.0.0
  4.0.0.0
  System.Xml.Xsl.XsltSettings To be added.

  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 object to the method.

  Gets an object that enables support for the XSLT document() function and embedded script blocks.