cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarry Liu <javast...@gmail.com>
Subject Re: Sitemap:Selector multiple value in map:when tag ?
Date Tue, 19 Jul 2005 15:34:52 GMT
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


Mime
View raw message