Subject: Re: [xsl] Generating CGI querystrings: How to write a literal ampersand? From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 30 Mar 2001 12:03:25 +0100 |
> 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 > > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Generating CGI querystrin, Julian F. Reschke | Thread | Re: [xsl] Generating CGI querystrin, Daniel Veillard |
RE: [xsl] Generating CGI querystrin, Julian F. Reschke | Date | Re: [xsl] Generating CGI querystrin, Peter Flynn |
Month |