SAXONICA

Saxon Documentation
Full Contents
About Saxon
Changes in this Release
| Version 8.6.1 (24 November 2005)
| Version 8.6 (3 November 2005)
| Version 8.5.1 (26 August 2005)
| Version 8.5 (2 August 2005)
| Version 8.4 (4 April 2005)
| Version 8.3 (11 February 2005)
» | Version 8.2 (21 December 2004)
| Version 8.1.1 (8 October 2004)
| Version 8.1 (24 September 2004)
| Version 8.0 (1 June 2004)
Conditions of Use
Using XSLT 2.0
Using XQuery
Handling Source Documents
XML Schema Processing
The XPath API
Standards Conformance
Extensibility
Saxon Extensions
Sample Saxon Applications
The Saxon SQL Extension
XSLT Elements
XPath 2.0 Expression Syntax
Function Library
XSLT Patterns

# Changes to Saxon Extensions

The EXSLT function `set:distinct()` is withdrawn. (It contained a bug that was non-trivial to fix, and the functionality is superseded by the `distinct-values()` function and by XSLT's `xsl:for-each-group`).

The Saxon extension function `saxon:distinct()` is withdrawn for the same reason.

A new function `saxon:evaluate-node()` is introduced. This is a variant of `saxon:evaluate()`, designed specifically for evaluating an XPath expression contained within a node of an XML document. It differs from `saxon:evaluate()` in that the static context (in particular, the namespace context) is taken from the node in the source document containing the expression, rather than from the stylesheet. The expression has access to standard functions and vendor extension functions, but not to user-defined functions or variables. The context node for evaluating the expression is also the node containing the expression, so the expression can act as a reference or pointer to other nodes in the document.

The extension function `saxon:line-number()` now takes an optional argument identifying the node whose line number is required. If the argument is omitted, then it applies to the context node, as before.

The XSLT extension instruction `saxon:assign` now works only with global variables.

Next