Re: Checking for empty values

Subject: Re: Checking for empty values
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 17 Jul 2000 15:46:19 GMT
>       <xsl:when test="count(child::* | text()) = 0">

that can more easily be written

<xsl:when test="* | text()">

and even more easily but not quite equivalent as it also tests for
comments and processing instructions:

<xsl:when test="node()">



David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread