[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: URL encoding (ö -> %F6)

Subject: RE: URL encoding (ö -> %F6)
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 15 Dec 2005 09:04:31 -0000
url encoding
If you use the Saxon serializer, with output method html or xhtml, then URIs
will automatically be encoded in this way. But I can't speak for the "cocoon
serializer".

You can always do the encoding "by hand" by calling the function
escape-html-uri:

http://www.saxonica.com/documentation/functions/intro/fn_escape-html-uri.htm
l

Michael Kay
http://www.saxonica.com/

> -----Original Message-----
> From: Merico Raffaele [mailto:raffaele.merico@xxxxxxx]
> Sent: 15 December 2005 08:57
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  URL encoding (v -> %F6)
>
> Dear cummunity
>
> I am using SaxonB 8.6.1 with Cocoon 2.1.8. The cocoon
> serializer produces a
> utf-8 encoded html page. Since the links in this serialized
> HTML page can
> not be processed correctly by the subsequent page I need an
> URL encoding at
> XSLT level. This URL encoding should work according to the
> RFC RFC 1738.
> That means that for example the German-Umlaut 'v' should be
> converted to
> '%F6'.
>
> For your support many thanks in advance ... Raffaele

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.