XsltSettings Constructor ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the XsltSettings class with default settings.

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

public XsltSettings()

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

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