RE: [xsl] Generating CGI querystrings: How to write a literal ampersand?

Subject: RE: [xsl] Generating CGI querystrings: How to write a literal ampersand?
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 30 Mar 2001 11:55:43 +0100
> i expected this to be a FAQ, but the info i find is not enough.
> I need to generate CGI querystrings from an XML data file(s),
> thus need to produce a string such as:
>
> url?param1=value1&param2=value2&param3=value3
>
It is indeed a FAQ (actually a VFAQ). You don't need to generate the above
string, because it is not correct HTML, though most browsers accept it. The
correct representation of this string in HTML is:

url?param1=value1&amp;param2=value2&amp;param3=value3

Mike Kay
Software AG


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


Current Thread