cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Morandini" <luca.morandi...@tin.it>
Subject RE: Request Parameters in XSLT
Date Tue, 04 Feb 2003 22:09:32 GMT
Dan,

take a look at RequestGenerator: since it produces an XML document, it is easy to iterate
thru all the request parameters whose name
start with "val".

Regards,

---------------------------------------------
               Luca Morandini
               GIS Consultant
              lmorandini@ieee.org
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: dfeather@oreillyauto.com [mailto:dfeather@oreillyauto.com]
> Sent: Tuesday, February 04, 2003 11:02 PM
> To: cocoon-users@xml.apache.org
> Subject: Request Parameters in XSLT
>
>
>
> Hello,
>       I am still pretty knew to all of this, so please bare with me if this
> seems obvious. I want to be able to process a set of request parameters in
> my xsl stylesheet that have the same name. For example, if I request:
>
> http://www.foo.com/bar/test?val=1&val=2&val=3
>
> is there a way I could iterate through the different values of "val" in my
> request?
>
> Currently I am setting "use-request-parameters" to true in my sitemap for
> the transformer, and then I have <xsl:param name="val"/> in my stylesheet.
> This works great for the first "val" but I am not sure how to get the rest
> of them. Is there some sort of array type I can use in my stylesheet or
> something along those lines. I searched the various cocoon resources and
> came up empty handed.
>
> Thanks for your help!
>
> Dan Feather
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message