System::Xml::Xsl::XsltSettings class

XsltSettings class

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

class XsltSettings : public System::Object

Methods

MethodDescription
static get_Default()Returns an XsltSettings object with default settings. Support for the XSLT document() function and embedded script blocks is disabled.
get_EnableDocumentFunction()Returns a value indicating whether to enable support for the XSLT document() function.
get_EnableScript()Returns a value indicating whether to enable support for embedded script blocks.
static get_TrustedXslt()Returns an XsltSettings object that enables support for the XSLT document() function and embedded script blocks.
set_EnableDocumentFunction(bool)Sets a value indicating whether to enable support for the XSLT document() function.
set_EnableScript(bool)Sets a value indicating whether to enable support for embedded script blocks.
XsltSettings()Initializes a new instance of the XsltSettings class with default settings.
XsltSettings(bool, bool)Initializes a new instance of the XsltSettings class with the specified settings.

Typedefs

TypedefDescription
PtrAn alias for shared pointer to an instance of this class.

Remarks

Objects of this class should only be allocated using System::MakeObject() function. Never create instances of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

See Also