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
Parameter | Type | Description |
---|---|---|
stylesheet | const 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
Parameter | Type | Description |
---|---|---|
stylesheet | const SharedPtr<XmlReader>& | The XmlReader containing the style sheet. |
settings | const SharedPtr<XsltSettings>& | The XsltSettings to apply to the style sheet. If this is nullptr, the XsltSettings::get_Default setting is applied. |
stylesheetResolver | const 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
Parameter | Type | Description |
---|---|---|
stylesheetUri | const 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
Parameter | Type | Description |
---|---|---|
stylesheetUri | const String& | The URI of the style sheet. |
settings | const SharedPtr<XsltSettings>& | The XsltSettings to apply to the style sheet. If this is nullptr, the XsltSettings::get_Default setting is applied. |
stylesheetResolver | const 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
Parameter | Type | Description |
---|---|---|
stylesheet | const 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
Parameter | Type | Description |
---|---|---|
stylesheet | const 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. |
settings | SharedPtr<XsltSettings> | The XsltSettings to apply to the style sheet. If this is nullptr, the XsltSettings::get_Default setting is applied. |
stylesheetResolver | 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. |
See Also
- Typedef SharedPtr
- Class XmlReader
- Class XslCompiledTransform
- Class XsltSettings
- Class XmlResolver
- Class String
- Class IXPathNavigable
- Namespace System::Xml::Xsl
- Library Aspose.Slides