Load()

XslCompiledTransform::Load(const SharedPtr<XmlReader>&) method

Compiles the style sheet contained in the XmlReader.

void System::Xml::Xsl::XslCompiledTransform::Load(const SharedPtr<XmlReader> &stylesheet)

Arguments

ParameterTypeDescription
stylesheetconst SharedPtr<XmlReader>&An XmlReader containing the style sheet.

XslCompiledTransform::Load(const SharedPtr<XmlReader>&, const SharedPtr<XsltSettings>&, const SharedPtr<XmlResolver>&) method

Compiles the XSLT style sheet contained in the XmlReader. The XmlResolver resolves any XSLT import or include elements and the XSLT settings determine the permissions for the style sheet.

void System::Xml::Xsl::XslCompiledTransform::Load(const SharedPtr<XmlReader> &stylesheet, const SharedPtr<XsltSettings> &settings, const SharedPtr<XmlResolver> &stylesheetResolver)

Arguments

ParameterTypeDescription
stylesheetconst SharedPtr<XmlReader>&The XmlReader containing the style sheet.
settingsconst SharedPtr<XsltSettings>&The XsltSettings to apply to the style sheet. If this is nullptr, the XsltSettings::get_Default setting is applied.
stylesheetResolverconst SharedPtr<XmlResolver>&The XmlResolver used to resolve any style sheets referenced in XSLT import and include elements. If this is nullptr, external resources are not resolved.

XslCompiledTransform::Load(const String&) method

Loads and compiles the style sheet located at the specified URI.

void System::Xml::Xsl::XslCompiledTransform::Load(const String &stylesheetUri)

Arguments

ParameterTypeDescription
stylesheetUriconst String&The URI of the style sheet.

XslCompiledTransform::Load(const String&, const SharedPtr<XsltSettings>&, const SharedPtr<XmlResolver>&) method

Loads and compiles the XSLT style sheet specified by the URI. The XmlResolver resolves any XSLT import or include elements and the XSLT settings determine the permissions for the style sheet.

void System::Xml::Xsl::XslCompiledTransform::Load(const String &stylesheetUri, const SharedPtr<XsltSettings> &settings, const SharedPtr<XmlResolver> &stylesheetResolver)

Arguments

ParameterTypeDescription
stylesheetUriconst String&The URI of the style sheet.
settingsconst SharedPtr<XsltSettings>&The XsltSettings to apply to the style sheet. If this is nullptr, the XsltSettings::get_Default setting is applied.
stylesheetResolverconst SharedPtr<XmlResolver>&The XmlResolver used to resolve the style sheet URI and any style sheets referenced in XSLT import and include elements.

XslCompiledTransform::Load(const SharedPtr<System::Xml::XPath::IXPathNavigable>&) method

Compiles the style sheet contained in the IXPathNavigable object.

void System::Xml::Xsl::XslCompiledTransform::Load(const SharedPtr<System::Xml::XPath::IXPathNavigable> &stylesheet)

Arguments

ParameterTypeDescription
stylesheetconst SharedPtr<System::Xml::XPath::IXPathNavigable>&An object implementing the IXPathNavigable interface. It can be either an XmlNode (typically an XmlDocument), or an XPathDocument containing the style sheet.

XslCompiledTransform::Load(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, SharedPtr<XsltSettings>, SharedPtr<XmlResolver>) method

Compiles the XSLT style sheet contained in the IXPathNavigable. The XmlResolver resolves any XSLT import or include elements and the XSLT settings determine the permissions for the style sheet.

void System::Xml::Xsl::XslCompiledTransform::Load(const SharedPtr<System::Xml::XPath::IXPathNavigable> &stylesheet, SharedPtr<XsltSettings> settings, SharedPtr<XmlResolver> stylesheetResolver)

Arguments

ParameterTypeDescription
stylesheetconst SharedPtr<System::Xml::XPath::IXPathNavigable>&An object implementing the IXPathNavigable interface. It can be either an XmlNode (typically an XmlDocument), or an XPathDocument containing the style sheet.
settingsSharedPtr<XsltSettings>The XsltSettings to apply to the style sheet. If this is nullptr, the XsltSettings::get_Default setting is applied.
stylesheetResolverSharedPtr<XmlResolver>The XmlResolver used to resolve any style sheets referenced in XSLT import and include elements. If this is nullptr, external resources are not resolved.

See Also