xsl-list
[Top] [All Lists]

AW: [xsl] URL encoding (ö -> %F6)

2005-12-15 04:05:34
Dear Michael, dear community

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

1) The manually escape-html-uri() did not solve the problem.

2) But it works with 
XMLNS: xmlns:javaUrlEncoder="java.net.URLEncoder"
Plus : javaUrlEncoder:encode(...)

Thanks for the support ... Raffaele


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 'ö' should be
converted to
'%F6'.

For your support many thanks in advance ... Raffaele

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>