RE: how do you determine if a property exists?2004-04-16 04:11:07<xsl:when test="@duration=''">1</xsl:when> <xsl:when test="not(@duration)">1</xsl:when> This second when clause will never be used, as someone has already commented, if there is no duration attribute, the first test will already be true. No, @duration='' will be false if @duration doesn't exist. But you can combine both tests by writing not(@duration!=''). Michael Kay
|
|