home contribute faq download | FunctX XSLT Functions |
fn:encode-for-uriEncodes reserved characters for use in the path of a URI | |||||||||||||||||||||||
DescriptionThe In addition, certain characters in URIs are separators that are intended to delimit parts of URIs, namely the characters ;,/?:@&=+$[]%. If the intended use of a string is as a segment of a URI path, where such separators have special meaning, the Like the fn:escape-html-uri and fn:iri-to-uri functions, this function replaces each special character with an escape sequence in the form This function is the most aggressive of the three encoding functions. All characters except the following are escaped:
This description is © Copyright 2007, Priscilla Walmsley. It is excerpted from the book XQuery by Priscilla Walmsley, O'Reilly, 2007. For a complete explanation of this function, please refer to Appendix A of the book. Arguments and Return Type
Examples
See Also
History
|