This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Parameters set by user
- From: Jeni Tennison <jeni at jenitennison dot com>
- To: "Technik" <technik at nexus-solutions dot de>
- Cc: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 3 Sep 2002 11:45:41 +0100
- Subject: Re: [xsl] Parameters set by user
- Organization: Jeni Tennison Consulting Ltd
- References: <MCBBKEOBABBKINHMJGOLCEOOCAAA.technik@nexus-solutions.de>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi Matthais,
> Is it possible, proceeding according to your 2nd alternative
> (below), to pass more than one value for one and the same parameter?
The values of the request parameters are passed as strings, so the
only way to pass more than one value is to have a delimited string.
For example:
.../search?search=a,b
would pass the value "a,b" as the value of the $search parameter. You
could then split that string up in order to process it.
But try it out -- it might be that you can do:
.../search?search=a&search=b
and the $search parameter be set to a node set containing two text
nodes whose values are 'a' and 'b' respectively, but frankly I doubt
it.
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list