cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kees Broenink" <kees.broen...@backbase.com>
Subject RE: Sitemap:Selector multiple value in map:when tag ?
Date Tue, 19 Jul 2005 16:33:49 GMT


-----Oorspronkelijk bericht-----
Van: news [mailto:news@sea.gmane.org] Namens oceatoon
Verzonden: Tuesday, July 19, 2005 6:09 PM
Aan: users@cocoon.apache.org
Onderwerp: Re: Sitemap:Selector multiple value in map:when tag ?


I'm afraid My question is about the Selector RequestParameters not XSL.
Something like this would be nice but...hmmm does it exist ? <map:select
type="parameter"> <map:parameter name="parameter-selector-test"
value="{1}"/> <map:when test="europe or region">


Jarry Liu wrote:

> I am not sure if it should like this:
> 
> <map:when test= "region = 'OH'  or province ='XYZ' ">
> 
> Here is some code I used and works without problem:
> 
>  <xsl:if test = "(substring-after(@name,'.') = 'xsp' or 
> substring-after(@name, '.') = 'xml'
>                     or substring-after(@name,'.') = 'xsl' or 
> substring-after(@name, '.') = 'xmap')">
>       <li><input type = "checkbox" name = "filesname" value =
>       "{$fullpath}" > <xsl:value-of select="@name"/>
>       </input></li>
>       </xsl:if>       >
> 
> Good luck.
> 
> Jarry
> 
> 
> On 7/19/05, oceatoon <t.katelbach@systheo.com> wrote:
>> > Hi
>> >
>> > While working with selectors I would like to test more than one 
>> > value in my test something like this
>> > <map:when test="region or province">
>> > or region,province or region|province
>> > I tried all the variations I could think of, but none work , is
this
>> > possible ?
>> >
>> > Thanks for the thoughts
>> > Tibor
>> >
>> >
>> > -------------------------------------------------------------------
>> > --
>> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> > For additional commands, e-mail: users-help@cocoon.apache.org
>> >
>> >
>>



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



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


Mime
View raw message