[xsl] count element content length

Subject: [xsl] count element content length
From: Jarkko.Moilanen@xxxxxx
Date: Tue, 16 Apr 2002 08:14:28 +0300 (EEST)
Hi!

Is there some method to count the elements content length and when 
for example the 20th character is met, then it would stop showing 
the rest and put ... after that. Because of my lowsy english, here
is one example:

elements content:
<Subject id="0000000002">Chattaamaan city chattiin ke klo 12</Subject>

the result should be:
<p>Chattaamaan city cha...</p>

Chears
Jarkko 

*******************************************************************
Jarkko Moilanen         *You are wise, witty, and wonderful,      *
Researcher/ ITCM        *but you spend too much time              *
jarkko.moilanen@xxxxxx  *reading this sort of trash.              *
www.uta.fi/~jm60697     *                                         *
GSM: +358 50 3766 927   *                                         *
*******************************************************************
* ITCM Information Technology and Crisis Management               *
*******************************************************************

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


Current Thread