[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: word wrap in a text string
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@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of ajay sinha > Sent: 06 March 2002 14:25 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: 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
|
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
|