This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Generating CGI querystrings: How to write a literal ampersand?



> 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 
> 
> I have not succeeded in writing out the literal ampersand.

No you don't want an & you want & If that URI is appearinng in XHTML
you _have_ to have & If it is in HTML then it's best to have &
although &  on its own is legal so long as the "param2" in your example
doesn't have a name that is the same as an HTML entity.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]