re: HTML Parameters and Ampersands

Subject: re: HTML Parameters and Ampersands
From: David_Benua@xxxxxxxxxxxxxx
Date: Wed, 4 Oct 2000 12:16:09 -0400
Julian,

Yes, you're correct that &#38 and #38 (and other forms like <![CDATA[&]]>) are
all exactly equivalent to &amp;

Thanks for the suggestions, though.

It appears from further reading an research that there is no way to output an
unescaped & in an attribute.  However, for at least some browsers, the &amp; in
an HTML parameter works fine.  We'll keep testing it with other (older) browsers
to see where the limitations lie.  From what I've read, some "near HTML" devices
(e.g. Palm VII) don't support this, but we don't care too much about that for
this particular application.

Dave

Original Message:


Date: Wed, 4 Oct 2000 16:50:24 +0200
From: "Julian Reschke" <julian.reschke@xxxxxx>
Subject: RE: HTML parameters and Ampersands

That shouldn't change anything.

Anyway, AFAIK escaping the "&" as "&amp;" in the URL is ok, actually the
HTML recommendation requires it. Browsers should be perfectly happy with it.

Julian

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Friedlander, Hal
> Sent: Wednesday, October 04, 2000 4:00 PM
> To: 'xsl-list@xxxxxxxxxxxxxxxx'
> Subject: RE: HTML parameters and Ampersands
>
>
> Have you tried using the character value &#38; or #38; in replace of &amp;
> in your XSL?
>
> -----Original Message-----
> From: David_Benua@xxxxxxxxxxxxxx [mailto:David_Benua@xxxxxxxxxxxxxx]
> Sent: Tuesday, October 03, 2000 11:22 PM
> To: XSL-List@xxxxxxxxxxxxxxxx
> Subject: HTML parameters and Ampersands
>
>
> I'm generating HTML on the server with XT, and I've run into what I think
> should
> be a common situation.
>
> I want to build a link in my HTML page that passes multiple parameters: <a
> href="baseurl.htm?param1=1&param2=2">Label Text</a>


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



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


Current Thread