Subject: RE: [xsl] how do you determine if a property exists? From: <Jarno.Elovirta@xxxxxxxxx> Date: Thu, 15 Apr 2004 11:58:41 +0300 |
Hi, > <xsl:choose> > <xsl:when > test="@duration=''">1</xsl:when> > <xsl:when > test="@duration">1</xsl:when> Sorry, this should of course be test="not(@duration)" but you can remove this condition, because if the duration attribute doesn't exist, the first test will already return true. Cheers, Jarno
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] how do you determine if a, Jarno.Elovirta | Thread | RE: [xsl] how do you determine if a, Passin, Tom |
[xsl] Looking for Tools & Books, Amir Yiron | Date | [xsl] text nodes, James Cummings |
Month |