xsl-list
[Top] [All Lists]

Re: escaping/entities on the fly?

2005-03-03 11:29:30
Yeah in the e-mail adress yes, but this is actually in the subject line, like so:
href= mailto:adress(_at_)adress(_dot_)com?subject=kabelskåp

But of course the same restriction applies to everything in the href attribute.

I'm using outlook express. So it seems what I need is to convert to HTML entities instead of %HH, since outlook can't display those characters correctly.
But this is not possible in XSLT 1.0 so I'm screwed I guess. :)

/Gabriel



----- Original Message ----- From: "Michael Kay" <mike(_at_)saxonica(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Thursday, March 03, 2005 7:14 PM
Subject: RE: [xsl] escaping/entities on the fly?


And it seems to do what you said in XSLT 1.0 which is what
I'm using, for
instance it converts  the word "kabelskåp" to  "Kabelsk%C3%A5p"

The thing is I want it to be seen as "kabelskåp" in the newly
created mail
when you klick the mailto link. Right now I'm getting some
weird symbol
instad of "å". How can I achive this?

I'm afraid this is a question about the mail software that you're using, not
about XSLT. I don't know the answer. It might not even be possible: as far
as I'm aware, the internet RFC's for SMTP email only allow Ascii characters
in email addresses.

Michael Kay
http://www.saxonica.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>
--~--