Export (0) Print
Expand All

XslCompiledTransform.Transform Method

Executes the XSLT transformation.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Transform(IXPathNavigable, XmlWriter) Executes the transform using the input document specified by the IXPathNavigable object and outputs the results to an XmlWriter.
Public method Transform(String, String) Executes the transform using the input document specified by the URI and outputs the results to a file.
Public method Transform(String, XmlWriter) Executes the transform using the input document specified by the URI and outputs the results to an XmlWriter.
Public method Transform(XmlReader, XmlWriter) Executes the transform using the input document specified by the XmlReader object and outputs the results to an XmlWriter.
Public method Transform(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.
Public method Transform(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.
Public method Transform(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.
Public method Transform(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.
Public method Transform(String, XsltArgumentList, TextWriter) Executes the transform using the input document specified by the URI and outputs the results to a TextWriter.
Public method Transform(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.
Public method Transform(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.
Public method Transform(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.
Public method Transform(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.
Public method Transform(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.
Public method Transform(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.
Top

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.

Community Additions

ADD
Show:
© 2014 Microsoft