Subject: RE: [xsl] Templates From: "Jim Fuller" <jim.fuller@xxxxxxxxxxxxxxxxxx> Date: Fri, 25 Jul 2003 09:44:41 +0100 |
> -----Original Message----- > From: Dinesh Kumar [mailto:dkumar@xxxxxxxxxxx] > Sent: 25 July 2003 09:30 > To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Templates, Marcus Andersson | Thread | [xsl] Controlling tabular layout of, John Marshall |
[xsl] Templates, Dinesh Kumar | Date | Re: [xsl] Templates, Marcus Andersson |
Month |