Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Transform Method

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
XslCompiledTransform..::.Transform Method

Executes the XSLT transformation.

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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker