Executes the transform using the input document specified by the IXPathNavigable object and outputs the results to an XmlWriter.
void System::Xml::Xsl::XslCompiledTransform::Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable> &input, const SharedPtr<XmlWriter> &results)
Arguments
Exceptions
| Exception | Description |
|---|
| ArgumentNullException | The input or results value is nullptr. |
| XsltException | There was an error executing the XSLT transform. |
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.
void System::Xml::Xsl::XslCompiledTransform::Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable> &input, const SharedPtr<XsltArgumentList> &arguments, const SharedPtr<XmlWriter> &results)
Arguments
Exceptions
| Exception | Description |
|---|
| ArgumentNullException | The input or results value is nullptr. |
| XsltException | There was an error executing the XSLT transform. |
XslCompiledTransform::Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::TextWriter>&) method
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.
void System::Xml::Xsl::XslCompiledTransform::Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable> &input, const SharedPtr<XsltArgumentList> &arguments, const SharedPtr<IO::TextWriter> &results)
Arguments
Exceptions
| Exception | Description |
|---|
| ArgumentNullException | The input or results value is nullptr. |
| XsltException | There was an error executing the XSLT transform. |
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.
void System::Xml::Xsl::XslCompiledTransform::Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable> &input, const SharedPtr<XsltArgumentList> &arguments, const SharedPtr<IO::Stream> &results)
Arguments
Exceptions
| Exception | Description |
|---|
| ArgumentNullException | The input or results value is nullptr. |
| XsltException | There was an error executing the XSLT transform. |
Executes the transform using the input document specified by the XmlReader object and outputs the results to an XmlWriter.
void System::Xml::Xsl::XslCompiledTransform::Transform(const SharedPtr<XmlReader> &input, const SharedPtr<XmlWriter> &results)
Arguments
Exceptions
| Exception | Description |
|---|
| ArgumentNullException | The input or results value is nullptr. |
| XsltException | There was an error executing the XSLT transform. |
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.
void System::Xml::Xsl::XslCompiledTransform::Transform(const SharedPtr<XmlReader> &input, const SharedPtr<XsltArgumentList> &arguments, const SharedPtr<XmlWriter> &results)
Arguments
Exceptions
| Exception | Description |
|---|
| ArgumentNullException | The input or results value is nullptr. |
| XsltException | There was an error executing the XSLT transform. |
XslCompiledTransform::Transform(const SharedPtr<XmlReader>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::TextWriter>&) method
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.
void System::Xml::Xsl::XslCompiledTransform::Transform(const SharedPtr<XmlReader> &input, const SharedPtr<XsltArgumentList> &arguments, const SharedPtr<IO::TextWriter> &results)
Arguments
Exceptions
| Exception | Description |
|---|
| ArgumentNullException | The input or results value is nullptr. |
| XsltException | There was an error executing the XSLT transform. |
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.
void System::Xml::Xsl::XslCompiledTransform::Transform(const SharedPtr<XmlReader> &input, const SharedPtr<XsltArgumentList> &arguments, const SharedPtr<IO::Stream> &results)
Arguments
Exceptions
| Exception | Description |
|---|
| ArgumentNullException | The input or results value is nullptr. |
| XsltException | There was an error executing the XSLT transform. |
Executes the transform using the input document specified by the URI and outputs the results to an XmlWriter.
void System::Xml::Xsl::XslCompiledTransform::Transform(const String &inputUri, const SharedPtr<XmlWriter> &results)
Arguments
Exceptions
| Exception | Description |
|---|
| ArgumentNullException | The inputUri or results value is nullptr. |
| XsltException | There was an error executing the XSLT transform. |
| DirectoryNotFoundException | The inputUri value includes a filename or directory cannot be found. |
| WebException | The inputUri value cannot be resolved. or An error occurred while processing the request. |
| UriFormatException | inputUri is not a valid URI. |
| XmlException | There was a parsing error loading the input document. |
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.
void System::Xml::Xsl::XslCompiledTransform::Transform(const String &inputUri, const SharedPtr<XsltArgumentList> &arguments, const SharedPtr<XmlWriter> &results)
Arguments
Exceptions
| Exception | Description |
|---|
| ArgumentNullException | The inputUri or results value is nullptr. |
| XsltException | There was an error executing the XSLT transform. |
| DirectoryNotFoundException | The inputtUri value includes a filename or directory cannot be found. |
| WebException | The inputUri value cannot be resolved. or An error occurred while processing the request. |
| UriFormatException | inputUri is not a valid URI. |
| XmlException | There was a parsing error loading the input document. |
XslCompiledTransform::Transform(const String&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::TextWriter>&) method
Executes the transform using the input document specified by the URI and outputs the results to a TextWriter.
void System::Xml::Xsl::XslCompiledTransform::Transform(const String &inputUri, const SharedPtr<XsltArgumentList> &arguments, const SharedPtr<IO::TextWriter> &results)
Arguments
Exceptions
| Exception | Description |
|---|
| ArgumentNullException | The inputUri or results value is nullptr. |
| XsltException | There was an error executing the XSLT transform. |
| DirectoryNotFoundException | The inputUri value includes a filename or directory cannot be found. |
| WebException | The inputUri value cannot be resolved. or An error occurred while processing the request. |
| UriFormatException | inputUri is not a valid URI. |
| XmlException | There was a parsing error loading the input document. |
Executes the transform using the input document specified by the URI and outputs the results to stream. The XsltArgumentList provides additional run-time arguments.
void System::Xml::Xsl::XslCompiledTransform::Transform(const String &inputUri, const SharedPtr<XsltArgumentList> &arguments, const SharedPtr<IO::Stream> &results)
Arguments
Exceptions
| Exception | Description |
|---|
| ArgumentNullException | The inputUri or results value is nullptr. |
| XsltException | There was an error executing the XSLT transform. |
| DirectoryNotFoundException | The inputUri value includes a filename or directory cannot be found. |
| WebException | The inputUri value cannot be resolved. or An error occurred while processing the request. |
| UriFormatException | inputUri is not a valid URI. |
| XmlException | There was a parsing error loading the input document. |
Executes the transform using the input document specified by the URI and outputs the results to a file.
void System::Xml::Xsl::XslCompiledTransform::Transform(const String &inputUri, const String &resultsFile)
Arguments
| Parameter | Type | Description |
|---|
| inputUri | const String& | The URI of the input document. |
| resultsFile | const String& | The URI of the output file. |
Exceptions
| Exception | Description |
|---|
| ArgumentNullException | The inputUri or resultsFile value is nullptr. |
| XsltException | There was an error executing the XSLT transform. |
| FileNotFoundException | The input document cannot be found. |
| DirectoryNotFoundException | The inputUri or resultsFile value includes a filename or directory cannot be found. |
| WebException | The inputUri or resultsFile value cannot be resolved. or An error occurred while processing the request. |
| UriFormatException | inputUri or resultsFile is not a valid URI. |
| XmlException | There was a parsing error loading the input document. |
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.
void System::Xml::Xsl::XslCompiledTransform::Transform(const SharedPtr<XmlReader> &input, const SharedPtr<XsltArgumentList> &arguments, const SharedPtr<XmlWriter> &results, const SharedPtr<XmlResolver> &documentResolver)
Arguments
Exceptions
| Exception | Description |
|---|
| ArgumentNullException | The input or results value is nullptr. |
| XsltException | There was an error executing the XSLT transform. |
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.
void System::Xml::Xsl::XslCompiledTransform::Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable> &input, const SharedPtr<XsltArgumentList> &arguments, const SharedPtr<XmlWriter> &results, const SharedPtr<XmlResolver> &documentResolver)
Arguments
See Also