This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Implementing recursion (Was Re: Char node-type)


>   <xsl:if test="string-length($rest) &gt; 0">

Just as a point of interest, this is equivalent to

<xsl:if test="$rest">

but slower. (Evaluating string-length(), at least in Saxon, requires
scanning the string to look for Unicode surrogate pairs).

Mike Kay 


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]