EXSLT - Functions - Version 1

Version: 1
Module Package: func.zip

EXSLT - Functions are those extension elements and functions that allow users to define their own functions for use in expressions and patterns in XSLT.

The extension elements and functions defined within this document are governed by the general rules about extensions to XSLT covered in [14. Extensions] in [XSLT 1.0].

XSLT processors are free to support any number of the extension elements and functions described in this document. However, an XSLT processor must not claim to support EXSLT - Functions unless all the core extensions described within this document are implemented by the processor. An implementation of an extension element or function in an EXSLT namespace must conform to the behaviour described in this document.

Using EXSLT will only make your stylesheet portable amongst the implementations that support EXSLT. Note that there is no requirement for XSLT processors that are compliant to XSLT to support the extensions described within EXSLT.

Namespace

The namespace for EXSLT - Functions is:

http://exslt.org/functions

Throughout this document, the prefix func is used to refer to this namespace. Any other prefix can be used within a particular stylesheet (though a prefix must be specified to enable the extension functions to be recognised as extensions).

Elements

Other Elements

The following extension elements are not considered stable and are not part of the core of EXSLT - Functions. Processors that claim support of EXSLT - Functions may not support these elements.

ElementVersionStatusSyntaxDownload
func:function2*revised
<func:function
   name = QName>
   <-- Content: (xsl:param* | template) -->
</func:function>
func.function.zip
func:result2*revised
<func:result
   select = expression>
   <-- Content: template -->
</func:result>
func.result.zip
* old version of element

Change History

Submitted: 2001-03-06
Creator: Jeni Tennison

Divided EXSLT - Common into two parts - this is one of them.

http://www.exslt.org/func.1.html last modified 2001-03-06