W3C home > Mailing lists > Public > www-archive@w3.org > September 2006

Online XSLT 2.0 Service: support for multi-valued parameters

From: MJ McLaren, Information Systems and Computing <Mark.McLaren@bristol.ac.uk>
Date: Tue, 12 Sep 2006 14:22:12 +0100
To: ted+xslt-service@w3.org, mf+xslt-service@w3.org, www-archive@w3.org
Message-ID: <62573728622BE87A6968ADF4@cse-mjmcl.cse.bris.ac.uk>

I have been experimenting with the Online XSLT 2.0 Service which is great!

I have been writing XSL stylesheets that create HTML that re-invoke the XSL 
stylesheet that produced them with different parameters.  I have noticed 
that the current implementation of SaxonSavvyServlet does not support 
multi-valued parameters. e.g. it uses:

String value = req.getParameterValue(name)

rather than something like:

String[] values = req.getParameterValues(name)

This means that currently parameters will be discarded from forms passing 
multi-valued parameters (such as those produced by checkboxes, radio 
buttons and select lists).  I have tweaked my local copy of the servlet to 
pass multi-valued parameters as comma separated parameters to the XSL.  I 
thought this could be a useful improvement to the SaxonSavvyServlet.

Best wishes,


MJ McLaren, Information Systems and Computing
Received on Tuesday, 12 September 2006 17:43:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:32:58 UTC