Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - XSLT Developer's Guide

Deploying XSLT on the Server

Server-side transformation of XML with Active Server Pages (ASP) is a viable solution for sending HTML to downstream browsers. To avoid the incompatibility of different versions of MSXML, use version-dependent ProgIDs from within an ASP page to link your XSLT style sheets with source XML documents.

Advantages of Transforming on the Server

Transforming the content on the server has the following advantages.

Disadvantages of Transforming on the Server

The major disadvantage to using XSLT on the server is that state management becomes more problematic. Because you can save XML code in server-side session variables, this can have an adverse impact on performance (especially when dealing with Web farms). Therefore, XSLT solutions should be largely stateless. (Some possible exceptions are cookies, query and form string parameters, and similar lightweight state tokens.)

Another solution for handling state is to look at such solutions as the Simple Object Access Protocol (SOAP). SOAP has rapidly become the protocol of choice for exchanging messages between components outside of Windows proper, and can also be used internally through such services as Microsoft® C#™ and Visual Studio® 7. Because SOAP is an XML protocol, it can also be manipulated with XSLT, making XSLT-oriented messaging systems feasible. For more information about SOAP, see the MSDN XML Developer Center Other Resources.

See Also

Deploying XSLT in Internet Explorer | Deploying XSLT on the Client