|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: word wrap in a text string
Subject: Re: word wrap in a text string
From: "Laura Jenkins" <xsl_list@xxxxxxxxxxx>
Date: Wed, 06 Mar 2002 14:45:46 +0000
|
Dear Ajay
Try using the function string-length
example
<xsl:variable name = "MyString" select = "beautiful weather"/>
<xsl:value-of select = "string-length(MyString)"/>
would return 17.
HTH
Laura
From: "ajay sinha" <sinhajay@xxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: word wrap in a text string
Date: Wed, 06 Mar 2002 14:24:54
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
_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|