XsltSettings.EnableDocumentFunction Property


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

Namespace:   System.Xml.Xsl
Assembly:  System.Xml (in System.Xml.dll)

public bool EnableDocumentFunction { get; set; }

Property Value

Type: System.Boolean

true to support the XSLT document() function; otherwise, false. The default is false.

System_CAPS_security Security Note

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
Return to top