Subject: [xsl] How to determine that no results exist for given match From: "Karl J. Stubsjoen" <karl@xxxxxxxxxxxxx> Date: Wed, 30 Apr 2003 10:48:49 -0700 |
Hi there, I have the following template: <xsl:template match="rs:data/z:row"/> <tr> <td>Hello</td> </tr> </xsl:template> What I'd like to do, if there is no match would be to return "NO Match", but would need to follow the same intendid table structure. So, expressed in simple language: <xsl:template match="rs:data/z:row"/> <IF NO MATCH> <tr> <td>Sorry no match</td> </tr> <OTHERWISE> </tr> <tr> <td>Hello</td> </tr> </IF> </xsl:template> Thanks, Karl XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl-fo: table cell border, J.Pietschmann | Thread | RE: [xsl] How to determine that no , Passin, Tom |
RE: [xsl] Transform XML, cknell | Date | RE: [xsl] Good old namespace proble, Passin, Tom |
Month |