XslCompiledTransform.Transform Method

 

Executes the XSLT transformation.

Namespace:   System.Xml.Xsl
Assembly:  System.Xml (in System.Xml.dll)

NameDescription
System_CAPS_pubmethodTransform(IXPathNavigable, XmlWriter)

Executes the transform using the input document specified by the IXPathNavigable object and outputs the results to an XmlWriter.

System_CAPS_pubmethodTransform(IXPathNavigable, XsltArgumentList, 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.

System_CAPS_pubmethodTransform(IXPathNavigable, XsltArgumentList, 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.

System_CAPS_pubmethodTransform(IXPathNavigable, XsltArgumentList, 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.

System_CAPS_pubmethodTransform(IXPathNavigable, XsltArgumentList, XmlWriter, 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.

System_CAPS_pubmethodTransform(String, String)

Executes the transform using the input document specified by the URI and outputs the results to a file.

System_CAPS_pubmethodTransform(String, XmlWriter)

Executes the transform using the input document specified by the URI and outputs the results to an XmlWriter.

System_CAPS_pubmethodTransform(String, XsltArgumentList, 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.

System_CAPS_pubmethodTransform(String, XsltArgumentList, TextWriter)

Executes the transform using the input document specified by the URI and outputs the results to a TextWriter.

System_CAPS_pubmethodTransform(String, XsltArgumentList, 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.

System_CAPS_pubmethodTransform(XmlReader, XmlWriter)

Executes the transform using the input document specified by the XmlReader object and outputs the results to an XmlWriter.

System_CAPS_pubmethodTransform(XmlReader, XsltArgumentList, 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.

System_CAPS_pubmethodTransform(XmlReader, XsltArgumentList, 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.

System_CAPS_pubmethodTransform(XmlReader, XsltArgumentList, 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.

System_CAPS_pubmethodTransform(XmlReader, XsltArgumentList, XmlWriter, 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.

System_CAPS_noteNote

There are differences between XSLT compiled in Debug mode and XSLT compiled in Release mode. In some situations, style sheets compiled in Debug mode will not throw errors during Load, but will later fail during Transform. The same style sheet compiled in Release mode will fail during Load. An example of such behavior is when a variable that is not of a node-set type is assigned to an expression where a node-set is required.

Return to top
Show: