System::Xml::Xsl::XslCompiledTransform class

XslCompiledTransform class

Transforms XML data using an XSLT style sheet.

class XslCompiledTransform : public System::Object

Methods

MethodDescription
get_OutputSettings()Returns an XmlWriterSettings object that contains the output information derived from the xsl:output element of the style sheet.
Load(const SharedPtr<XmlReader>&)Compiles the style sheet contained in the XmlReader.
Load(const SharedPtr<XmlReader>&, const SharedPtr<XsltSettings>&, const SharedPtr<XmlResolver>&)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.
Load(const String&)Loads and compiles the style sheet located at the specified URI.
Load(const String&, const SharedPtr<XsltSettings>&, const SharedPtr<XmlResolver>&)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.
Load(const SharedPtr<System::Xml::XPath::IXPathNavigable>&)Compiles the style sheet contained in the IXPathNavigable object.
Load(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, SharedPtr<XsltSettings>, SharedPtr<XmlResolver>)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.
Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<XmlWriter>&)Executes the transform using the input document specified by the IXPathNavigable object and outputs the results to an XmlWriter.
Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<XmlWriter>&)Executes the transform using the input document specified by the IXPathNavigable object and outputs the results to an XmlWriter. The XsltArgumentList provides additional run-time arguments.
Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::TextWriter>&)Executes the transform using the input document specified by the IXPathNavigable object and outputs the results to an TextWriter. The XsltArgumentList provides additional run-time arguments.
Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::Stream>&)Executes the transform using the input document specified by the IXPathNavigable object and outputs the results to a stream. The XsltArgumentList provides additional runtime arguments.
Transform(const SharedPtr<XmlReader>&, const SharedPtr<XmlWriter>&)Executes the transform using the input document specified by the XmlReader object and outputs the results to an XmlWriter.
Transform(const SharedPtr<XmlReader>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<XmlWriter>&)Executes the transform using the input document specified by the XmlReader object and outputs the results to an XmlWriter. The XsltArgumentList provides additional run-time arguments.
Transform(const SharedPtr<XmlReader>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::TextWriter>&)Executes the transform using the input document specified by the XmlReader object and outputs the results to a TextWriter. The XsltArgumentList provides additional run-time arguments.
Transform(const SharedPtr<XmlReader>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::Stream>&)Executes the transform using the input document specified by the XmlReader object and outputs the results to a stream. The XsltArgumentList provides additional run-time arguments.
Transform(const String&, const SharedPtr<XmlWriter>&)Executes the transform using the input document specified by the URI and outputs the results to an XmlWriter.
Transform(const String&, const SharedPtr<XsltArgumentList>&, const SharedPtr<XmlWriter>&)Executes the transform using the input document specified by the URI and outputs the results to an XmlWriter. The XsltArgumentList provides additional run-time arguments.
Transform(const String&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::TextWriter>&)Executes the transform using the input document specified by the URI and outputs the results to a TextWriter.
Transform(const String&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::Stream>&)Executes the transform using the input document specified by the URI and outputs the results to stream. The XsltArgumentList provides additional run-time arguments.
Transform(const String&, const String&)Executes the transform using the input document specified by the URI and outputs the results to a file.
Transform(const SharedPtr<XmlReader>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<XmlWriter>&, const SharedPtr<XmlResolver>&)Executes the transform using the input document specified by the XmlReader object and outputs the results to an XmlWriter. The XsltArgumentList provides additional run-time arguments and the XmlResolver resolves the XSLT document() function.
Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<XmlWriter>&, const SharedPtr<XmlResolver>&)Executes the transform by using the input document that is specified by the IXPathNavigable object and outputs the results to an XmlWriter. The XsltArgumentList provides additional run-time arguments and the XmlResolver resolves the XSLT document() function.
XslCompiledTransform()Initializes a new instance of the XslCompiledTransform class.

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