|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Templates
> -----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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








