# EXSLT - str:encode-uri

Implementer Page: str.encode-uri.html Function Package: str.encode-uri.zip

#### Function Syntax

    string str:encode-uri(string, string, string?)

The `str:encode-uri` function returns an encoded URI. The `str:encode-uri` method does not encode the following characters: lower case letters a-z, upper case letters A-Z, digits 0-9, and "-" | "_" | "." | "!" | "~" | "*" | "'" | "(" | ")".

## Implementations

There are currently no XSLT processors that we know of that support the latest version of `str:encode-uri` natively.

The following processors support earlier versions of `str:encode-uri`:

- 4XSLT, from 4Suite. (version 0.12.0a3)

There are currently no third-party implementations of the latest version of `str:encode-uri`.

The following third-party implementations of earlier versions of `str:encode-uri` are available:

- Msxsl (by Chris Bayes)
- Javascript (by Chris Bayes)

http://www.exslt.org/str/functions/encode-uri/index.html last modified 2002-12-02