[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: escaping/entities on the fly?
Well my output is this:
<xsl:output method="html" media-type="text/html" encoding="ISO-8859-1" indent="no" omit-xml-declaration="yes"/> And it seems to do what you said in XSLT 1.0 which is what I'm using, for instance it converts the word "kabelskep" to "Kabelsk%C3%A5p" The thing is I want it to be seen as "kabelskep" in the newly created mail when you klick the mailto link. Right now I'm getting some weird symbol instad of "e". How can I achive this? I must admit this encoding stuff is confusing to me. :/ /Gabriel ----- Original Message ----- From: "Michael Kay" <mike@xxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, March 03, 2005 6:34 PM Subject: RE: escaping/entities on the fly?
XSLT 2.0 provides a function escape-uri() to achieve this. 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: escaping/entities on the fly?
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|