[xsl] String test pro's /con's

Subject: [xsl] String test pro's /con's
From: "CROFT, MICHAEL" <MCROFT@xxxxxxxxx>
Date: Mon, 24 Jun 2002 10:48:59 -0400
To test if an element contains data (any string) what is the
difference/benefits/cons?? to either of the following:  

<xsl:if test="string-length(./myelement)> 0 )

or 

<xsl:if test="not(./myelement='')">


Mike



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender and postmaster@xxxxxxxxxx
**********************************************************************
 


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


Current Thread