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]
Other format: [Raw text]

Re: AW: Counting number of characters of sibling text node



>Try        <xsl:value-of select="$pastTxtLen + string-length(.)" />
>instead of <xsl:value-of select="string-length($pastTxtLen) + string-length(.)" />

    I tried your suggestion but I get NaN (not a number) as the result.

>If it does not work there is yet another (whitespace) problem.
>

    I think you're right.. It might be a whitespace problem. Do you have an idea where that might be happening?



     Filipe


 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]