Load()

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

Loads the XSLT style sheet contained in the XmlReader.

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

Arguments

ParameterTypeDescription
stylesheetconst SharedPtr<XmlReader>&An XmlReader object that contains the XSLT style sheet.

XslTransform::Load(const SharedPtr<XmlReader>&, const SharedPtr<System::Xml::XmlResolver>&) method

Loads the XSLT style sheet contained in the XmlReader.

void System::Xml::Xsl::XslTransform::Load(const SharedPtr<XmlReader> &stylesheet, const SharedPtr<System::Xml::XmlResolver> &resolver)

Arguments

ParameterTypeDescription
stylesheetconst SharedPtr<XmlReader>&An XmlReader object that contains the XSLT style sheet.
resolverconst SharedPtr<System::Xml::XmlResolver>&The XmlResolver used to load any style sheets referenced in xsl:import and xsl:include elements. If this is nullptr, external resources are not resolved. The XmlResolver is not cached after this method completes.

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

Loads the XSLT style sheet contained in the IXPathNavigable.

void System::Xml::Xsl::XslTransform::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 XSLT style sheet.

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

Loads the XSLT style sheet contained in the IXPathNavigable.

void System::Xml::Xsl::XslTransform::Load(const SharedPtr<System::Xml::XPath::IXPathNavigable> &stylesheet, const SharedPtr<System::Xml::XmlResolver> &resolver)

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 XSLT style sheet.
resolverconst SharedPtr<System::Xml::XmlResolver>&The XmlResolver used to load any style sheets referenced in xsl:import and xsl:include elements. If this is nullptr, external resources are not resolved. The XmlResolver is not cached after this method completes.

XslTransform::Load(const SharedPtr<System::Xml::XPath::XPathNavigator>&) method

Loads the XSLT style sheet contained in the XPathNavigator.

void System::Xml::Xsl::XslTransform::Load(const SharedPtr<System::Xml::XPath::XPathNavigator> &stylesheet)

Arguments

ParameterTypeDescription
stylesheetconst SharedPtr<System::Xml::XPath::XPathNavigator>&An XPathNavigator object that contains the XSLT style sheet.

XslTransform::Load(const SharedPtr<System::Xml::XPath::XPathNavigator>&, const SharedPtr<System::Xml::XmlResolver>&) method

Loads the XSLT style sheet contained in the XPathNavigator.

void System::Xml::Xsl::XslTransform::Load(const SharedPtr<System::Xml::XPath::XPathNavigator> &stylesheet, const SharedPtr<System::Xml::XmlResolver> &resolver)

Arguments

ParameterTypeDescription
stylesheetconst SharedPtr<System::Xml::XPath::XPathNavigator>&An XPathNavigator object that contains the XSLT style sheet.
resolverconst SharedPtr<System::Xml::XmlResolver>&The XmlResolver used to load any style sheets referenced in xsl:import and xsl:include elements. If this is nullptr, external resources are not resolved. The XmlResolver is not cached after this method completes.

XslTransform::Load(const String&) method

Loads the XSLT style sheet specified by a URL.

void System::Xml::Xsl::XslTransform::Load(const String &url)

Arguments

ParameterTypeDescription
urlconst String&The URL that specifies the XSLT style sheet to load.

XslTransform::Load(const String&, const SharedPtr<System::Xml::XmlResolver>&) method

Loads the XSLT style sheet specified by a URL.

void System::Xml::Xsl::XslTransform::Load(const String &url, const SharedPtr<System::Xml::XmlResolver> &resolver)

Arguments

ParameterTypeDescription
urlconst String&The URL that specifies the XSLT style sheet to load.
resolverconst SharedPtr<System::Xml::XmlResolver>&The XmlResolver to use to load the style sheet and any style sheet(s) referenced in xsl:import and xsl:include elements. If this is nullptr, a default XmlUrlResolver with no user credentials is used to open the style sheet. The default XmlUrlResolver is not used to resolve any external resources in the style sheet, so xsl:import and xsl:include elements are not resolved. The XmlResolver is not cached after this method completes.

See Also