This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Generating CGI querystrings: How to write a literal ampersand?
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Generating CGI querystrings: How to write a literal ampersand?
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 30 Mar 2001 11:55:43 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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¶m2=value2¶m3=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&param2=value2&param3=value3
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list