Re: [xsl] XSL, Escaping, undocumented?

Subject: Re: [xsl] XSL, Escaping, undocumented?
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Sun, 15 Jun 2003 11:37:43 +0200
FireNet - Information wrote:

I want this functionality in XSL:
<xsl:variable name="time"
select="document('www.time.gov/time.asp?state=la&applysummertime=no')"/>

The above ASP will return an XML document that will contain the time in the
specified state.
My problem is that the MSXML XSL transformation handles the "&" character as
an illegal character.
If I write "&amp;", it doesn't convert it to the actual amp character, which
means that the ASP script reads the state variable like
"la&amp;applysummertime=no"..

Then there is something wrong with the ASP script or IIS, because using &amp; is the only valid way both in XML and HTML.


--
Oleg Tkachenko
http://www.tkachenko.com/blog
Multiconn Technologies, Israel


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread