EXSLT - Strings - Implementer Page

Version: 1
User Page: index.html
XML Definition: str.xml
Module Package: str.zip

EXSLT - Strings covers extension elements and functions that provide facilities to do with string manipulation.

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 - Strings 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 - Strings is:

http://exslt.org/strings

Throughout this document, the prefix str 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).

Functions

Other Functions

The following extension functions are not considered stable and are not part of the core of EXSLT - Strings. Processors that claim support of EXSLT - Strings might not support these functions.

FunctionVersionStatusSyntaxDownload
str:tokenize1newnode-set str:tokenize(string, string?)str.tokenize.zip
str:replace1newnode-set str:replace(string, object, object)str.replace.zip
str:padding1newstring str:padding(number, string?)str.padding.zip
str:align1newstring str:align(string, string, string?)str.align.zip
str:encode-uri1*newstring str:encode-uri(string, string, string?)str.encode-uri.zip
str:decode-uri1*newstring str:decode-uri(string, string)str.decode-uri.zip
str:concat1newstring str:concat(node-set)str.concat.zip
str:split1newnode-set str:split(string, string?)str.split.zip
* old version of function

Change History

Submitted: 2001-06-03
Creator: Jeni Tennison

A module of string manipulation functions.

VersionModifiedByDetails
1.12001-11-18Jeni Tennison

Added str:split() function.

http://www.exslt.org/str/str.html last modified 2001-11-18