|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: how do you determine if a property exists?
> <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
|
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








