Transform()

Contents
[ ]

XslCompiledTransform::Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<XmlWriter>&) method

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

ParameterTypeDescription
inputconst 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 data to be transformed.
resultsconst SharedPtr<XmlWriter>&The XmlWriter to which you want to output. If the style sheet contains an xsl:output element, you should create the XmlWriter using the XmlWriterSettings object returned from the XslCompiledTransform::get_OutputSettings value. This ensures that the XmlWriter has the correct output settings.

XslCompiledTransform::Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<XmlWriter>&) method

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

ParameterTypeDescription
inputconst 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 data to be transformed.
argumentsconst SharedPtr<XsltArgumentList>&An XsltArgumentList containing the namespace-qualified arguments used as input to the transform. This value can be nullptr.
resultsconst SharedPtr<XmlWriter>&The XmlWriter to which you want to output. If the style sheet contains an xsl:output element, you should create the XmlWriter using the XmlWriterSettings object returned from the XslCompiledTransform::get_OutputSettings value. This ensures that the XmlWriter has the correct output settings.

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

ParameterTypeDescription
inputconst 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 data to be transformed.
argumentsconst SharedPtr<XsltArgumentList>&An XsltArgumentList containing the namespace-qualified arguments used as input to the transform. This value can be nullptr.
resultsconst SharedPtr<IO::TextWriter>&The TextWriter to which you want to output.

XslCompiledTransform::Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::Stream>&) method

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

ParameterTypeDescription
inputconst 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 data to be transformed.
argumentsconst SharedPtr<XsltArgumentList>&An XsltArgumentList containing the namespace-qualified arguments used as input to the transform. This value can be nullptr.
resultsconst SharedPtr<IO::Stream>&The stream to which you want to output.

XslCompiledTransform::Transform(const SharedPtr<XmlReader>&, const SharedPtr<XmlWriter>&) method

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

ParameterTypeDescription
inputconst SharedPtr<XmlReader>&The XmlReader containing the input document.
resultsconst SharedPtr<XmlWriter>&The XmlWriter to which you want to output. If the style sheet contains an xsl:output element, you should create the XmlWriter using the XmlWriterSettings object returned from the XslCompiledTransform::get_OutputSettings value. This ensures that the XmlWriter has the correct output settings.

XslCompiledTransform::Transform(const SharedPtr<XmlReader>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<XmlWriter>&) method

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

ParameterTypeDescription
inputconst SharedPtr<XmlReader>&An XmlReader containing the input document.
argumentsconst SharedPtr<XsltArgumentList>&An XsltArgumentList containing the namespace-qualified arguments used as input to the transform. This value can be nullptr.
resultsconst SharedPtr<XmlWriter>&The XmlWriter to which you want to output. If the style sheet contains an xsl:output element, you should create the XmlWriter using the XmlWriterSettings object returned from the XslCompiledTransform::get_OutputSettings value. This ensures that the XmlWriter has the correct output settings.

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

ParameterTypeDescription
inputconst SharedPtr<XmlReader>&An XmlReader containing the input document.
argumentsconst SharedPtr<XsltArgumentList>&An XsltArgumentList containing the namespace-qualified arguments used as input to the transform. This value can be nullptr.
resultsconst SharedPtr<IO::TextWriter>&The TextWriter to which you want to output.

XslCompiledTransform::Transform(const SharedPtr<XmlReader>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::Stream>&) method

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

ParameterTypeDescription
inputconst SharedPtr<XmlReader>&An XmlReader containing the input document.
argumentsconst SharedPtr<XsltArgumentList>&An XsltArgumentList containing the namespace-qualified arguments used as input to the transform. This value can be nullptr.
resultsconst SharedPtr<IO::Stream>&The stream to which you want to output.

XslCompiledTransform::Transform(const String&, const SharedPtr<XmlWriter>&) method

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

ParameterTypeDescription
inputUriconst String&The URI of the input document.
resultsconst SharedPtr<XmlWriter>&The XmlWriter to which you want to output. If the style sheet contains an xsl:output element, you should create the XmlWriter using the XmlWriterSettings object returned from the XslCompiledTransform::get_OutputSettings value. This ensures that the XmlWriter has the correct output settings.

XslCompiledTransform::Transform(const String&, const SharedPtr<XsltArgumentList>&, const SharedPtr<XmlWriter>&) method

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

ParameterTypeDescription
inputUriconst String&The URI of the input document.
argumentsconst SharedPtr<XsltArgumentList>&An XsltArgumentList containing the namespace-qualified arguments used as input to the transform. This value can be nullptr.
resultsconst SharedPtr<XmlWriter>&The XmlWriter to which you want to output. If the style sheet contains an xsl:output element, you should create the XmlWriter using the XmlWriterSettings object returned from the XslCompiledTransform::get_OutputSettings value. This ensures that the XmlWriter has the correct output settings.

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

ParameterTypeDescription
inputUriconst String&The URI of the input document.
argumentsconst SharedPtr<XsltArgumentList>&An XsltArgumentList containing the namespace-qualified arguments used as input to the transform. This value can be nullptr.
resultsconst SharedPtr<IO::TextWriter>&The TextWriter to which you want to output.

XslCompiledTransform::Transform(const String&, const SharedPtr<XsltArgumentList>&, const SharedPtr<IO::Stream>&) method

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

ParameterTypeDescription
inputUriconst String&The URI of the input document.
argumentsconst SharedPtr<XsltArgumentList>&An XsltArgumentList containing the namespace-qualified arguments used as input to the transform. This value can be nullptr.
resultsconst SharedPtr<IO::Stream>&The stream to which you want to output.

XslCompiledTransform::Transform(const String&, const String&) method

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

ParameterTypeDescription
inputUriconst String&The URI of the input document.
resultsFileconst String&The URI of the output file.

XslCompiledTransform::Transform(const SharedPtr<XmlReader>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<XmlWriter>&, const SharedPtr<XmlResolver>&) method

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

ParameterTypeDescription
inputconst SharedPtr<XmlReader>&An XmlReader containing the input document.
argumentsconst SharedPtr<XsltArgumentList>&An XsltArgumentList containing the namespace-qualified arguments used as input to the transform. This value can be nullptr.
resultsconst SharedPtr<XmlWriter>&The XmlWriter to which you want to output. If the style sheet contains an xsl:output element, you should create the XmlWriter using the XmlWriterSettings object returned from the XslCompiledTransform::get_OutputSettings value. This ensures that the XmlWriter has the correct output settings.
documentResolverconst SharedPtr<XmlResolver>&The XmlResolver used to resolve the XSLT document() function. If this is nullptr, the document() function is not resolved.

XslCompiledTransform::Transform(const SharedPtr<System::Xml::XPath::IXPathNavigable>&, const SharedPtr<XsltArgumentList>&, const SharedPtr<XmlWriter>&, const SharedPtr<XmlResolver>&) method

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

ParameterTypeDescription
inputconst SharedPtr<System::Xml::XPath::IXPathNavigable>&The document to transform that is specified by the IXPathNavigable object.
argumentsconst SharedPtr<XsltArgumentList>&Argument list as XsltArgumentList.
resultsconst SharedPtr<XmlWriter>&The XmlWriter to which you want to output. If the style sheet contains an xsl:output element, you should create the XmlWriter by using the XmlWriterSettings object that is returned from the XslCompiledTransform::get_OutputSettings value. This ensures that the XmlWriter has the correct output settings.
documentResolverconst SharedPtr<XmlResolver>&The XmlResolver used to resolve the XSLT document() function. If this is nullptr, the document() function is not resolved.

See Also