SAXONICA

Saxon Documentation
Full Contents
About Saxon
Changes in this Release
Conditions of Use
Using XSLT 2.0
Using XQuery
Handling Source Documents
XML Schema Processing
The XPath API
Standards Conformance
Extensibility
Saxon Extensions
| Introduction
| EXSLT Extensions
» | Extension attributes (XSLT only)
| Additional serialization parameters
| Extension functions
| Extension instructions
Sample Saxon Applications
The Saxon SQL Extension
XSLT Elements
XPath 2.0 Expression Syntax
Function Library
XSLT Patterns

# Extension attributes (XSLT only)

An extension attribute is an extra attribute on an XSLT-defined element. Following the rules of XSLT, such attributes must be in a non-default namespace. For Saxon extension elements, the namespace must be the Saxon namespace URI "http://saxon.sf.net/"

For example, the `saxon:assignable` attribute can be set as follows:

    <xsl:variable name="counter" saxon:assignable="yes"
        xmlns:saxon="http://saxon.sf.net/">

The extension attributes provided with the Saxon product are as follows:

- saxon:assignable: marks a variable as updateable

- saxon:explain: requests display of optimized expression tree

- saxon:memo-function: marks a function as a memo function

- saxon:read-once: enables serial processing of source documents

Next