|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: count 2 times
Hello.
Carlos Durand Silvestrin wrote:
> Is this correct?
>
> <xsl:if test="(count(delivery/origem/linha) = 0) or
> (count(delivery/destino/linha) = 0)">
> <input type="image" src="../images/roteiro.jpg"/>
> </xsl:if>
Yes, but the following is simpler:
<xsl:if test="not(delivery/origem/linha) or
not(delivery/destino/linha">
<input type="image" src="../images/roteiro.jpg"/>
</xsl:if>
--
Alexander E. Gutman
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








