[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
hotmail word wrap

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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.