Subject: Re: [xsl] escaping/entities on the fly? From: "Gabriel K." <gabriel.klappenbach@xxxxxxxxxxxx> Date: Thu, 3 Mar 2005 18:47:19 +0100 |
Non-Ascii characters in a URI should be escaped using the %HH convention, rather than using XML escaping.
In 1.0, it happens automatically when you use the HTML serialization method if the URI appears in an attribute such as <a href="..."> that is known to require a URI as its value.
Michael Kay http://www.saxonica.com/
-----Original Message----- From: Gabriel K. [mailto:gabriel.klappenbach@xxxxxxxxxxxx] Sent: 03 March 2005 17:11 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] escaping/entities on the fly?
I'm creating an URL (a mailto: link) that uses characters not allowed, encoded in ISO-8859-1. The characters are for instance e d v. So when when you click the mailto link and a new mail is created, these characters in the subject line are not readable.
Is there a function or some other way to convert for instance the character "e" to å or it's entity number å on the fly? I don't want to have these (entities) in the XML file.
/Gabriel
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] escaping/entities on the , Michael Kay | Thread | RE: [xsl] escaping/entities on the , Michael Kay |
RE: [xsl] Problem setting variable , Michael Kay | Date | Re: [xsl] Problem setting variable , David Carlisle |
Month |