xsl-list
[Top] [All Lists]

Re: Conditional splitting of string with XSL

2003-01-26 10:26:59

Look at the archive, there were enough FXSL power demonstrations on
this 
topic, e.g.
http://www.biglist.com/lists/xsl-list/archives/200112/msg00651.html.



Thank you, Oleg!

The link is just a little bit different:

http://sources.redhat.com/ml/xsl-list/2001-12/msg00651.html


=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL



"Oleg Tkachenko" <olegt(_at_)multiconn(_dot_)com> wrote in message
news:3E33C75D(_dot_)70708(_at_)multiconn(_dot_)com(_dot_)(_dot_)(_dot_)
Mukul wrote:

<verylongtext>
longtextlongtextlongtext ongtextlongtextlongtextlon
textlongtextlongtextlongtex longtextlongtextlongte
tlongtextlongtextlongtextlongtext ongtextlongtext
ongtextlongte tlongtextlongtextlongtextlongtextlon
textlongtext ongtextlo gtextlongtext..can be very
long..
</verylongtext>

I want to write a XSL stylesheet which can split the
<verylongtext> data into multiple lines of 20
charcaters each. I need only 1st 3 lines after
splitting. 

If there is a space character in data, then the split
needs to be done just before the space, and the space
character should be the <= 20th character..

Can anybody please help me with this problem.. Or is
this at all possible with XSL..? Will appreciate an
early reply..

Look at the archive, there were enough FXSL power demonstrations on
this 
topic, e.g.
http://www.biglist.com/lists/xsl-list/archives/200112/msg00651.html.

-- 
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


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


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



<Prev in Thread] Current Thread [Next in Thread>