> -----Original Message-----
> From: Dinesh Kumar [mailto:dkumar@xxxxxxxxxxx]
> Sent: 25 July 2003 09:30
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Templates
>
>
> Hello,
> How can I add more than one criteria to
>
> <xsl:template match="Foobar[IsGod=1]">
>
> to have something like
>
> <xsl:template match="Foobar[IsGod=1,IsDevil=0]">
>
> which does not work!
well why expect something to work, when you just made it up !
try something like this;
<xsl:apply-templates select="Foobar[condition1=1][condition2=2]"/>
or use boolean statements ( and, or )
<xsl:apply-templates select="Foobar[condition1=1 and condition2=2]"/>
gl, jim fuller
>
>
> Thanks
> dinesh
>
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Templates
- Dinesh Kumar - Fri, 25 Jul 2003 04:30:57 -0400 (EDT)
- <Possible follow-ups>
- Jim Fuller - Fri, 25 Jul 2003 04:45:04 -0400 (EDT) <=
|
|