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

Re: UTF-8 URL encoding with XSLT 1.0

Subject: Re: UTF-8 URL encoding with XSLT 1.0
From: "Martynas Jusevicius" <martynas.jusevicius@xxxxxxxxx>
Date: Sat, 2 Jun 2007 11:33:20 +0200
Re:  UTF-8 URL encoding with XSLT 1.0
That is what I did in the first place. But still, I don't think it can
encode characters outside the ASCII range. In my input I have a
&#8212; (n-dash), and the stylesheet gives me warning: "String
contains a character that is out of range! Substituting "?"".
I think it also says that in the comments, if I get it right.


On 6/2/07, bryan rasmussen <rasmussen.bryan@xxxxxxxxx> wrote:
you need to change the xsl:output encoding attribute to be utf-8 for
it to output utf-8. in the referenced stylesheet it is currently iso

bryan rasmussen

On 6/2/07, Martynas Jusevicius <martynas.jusevicius@xxxxxxxxx> wrote:
> Hi,
> is there a stylesheet somewhere to encode URLs in XSLT 1.0?
> So far I'm using one from http://skew.org/xml/stylesheets/url-encode/
> , but it looks like it cannot handle UTF-8.
> Martynas

Current Thread


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.
First Name
Last Name
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.