This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: word wrap in a text string
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 6 Mar 2002 16:35:58 -0000
- Subject: RE: [xsl] word wrap in a text string
- Reply-to: xsl-list at lists dot mulberrytech dot com
You have two options: implement it in XSLT with a recursive named template,
or implement it externally, either in an extension function, or by pre- or
post-processing.
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of ajay sinha
> Sent: 06 March 2002 14:25
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] word wrap in a text string
>
>
>
>
> Hi friends,
> I have to do wrap text in a td i.e. in a node, which contains
> text string I
> have to find if any
> Word has more then 30 characters then insert a br tag after
> 30 char in that
> word and so on. I have to check whole text for long word and
> break each of
> them. Furthermore I am using Saxon 3.1 which doesn’t allow
> tail recursion.
> Well if any one can show me an example or guide me, I will be really
> thankful.
> Arup
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
> http://explorer.msn.com/intl.asp.
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list