EnableScript Property
Collapse the table of content
Expand the table of content

XsltSettings.EnableScript Property


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

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

public bool EnableScript { get; set; }

Property Value

Type: System.Boolean

true to support script blocks in XSLT style sheets; otherwise, false. The default is false.

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.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft