Microsoft XML 2.5 SDK


 

What's New in This Release of XSLT and XPath

[This is preliminary documentation and subject to change.]

This list is not complete.

The Microsoft MSXML 2.6 Parser includes several changes to the previous release of XSL and XSL Patterns.

Feature Description
New namespace There is a new official XSLT namespace, http://www.w3.org/1999/XSL/Transform. Both the existing http://www.w3c.org/TR/WD-xsl namespace and the new namespace are recognized by the parser. Stylesheets using the old namespace work identically to MSXML 2.0. Stylesheets using the new namespace implement only functionality common to both XSLT and MSXML 2.0.

The namespace in effect for the document is determined when the first element with an XSL namespace, old XSL or new XSLT, is encountered. The two namespaces cannot be mixed and processed correctly. If an element from the old XSL implementation exists in an XSLT stylesheet an error will be thrown. If an attribute from the old XSL implementation exists in an XSLT stylesheet it will be ignored.

Existing stylesheets can be upgraded with a simple transformation. See XML and XSL Samples and Demos for a XLS/XSLT conversion tool.

msxslt:script Appears at the top level of the stylesheet and contains script blocks which define global variables and functions for script extensions.

Can only be recognized by stylesheets that use the built-in extension namespace urn:schemas-microsoft-com:xslt.

Xsl:stylesheet element A version attribute is required, indicating the version of XSLT the stylesheet requires. Value should be set to 1.0 for this version of XSLT.