For those who are as ignorant as I about XSL, there is something called EXSLT: http://exslt.org/
It is an open source initiative which provides common functions for processing numbers, strings, etc... Here are some links which I found helpful when learning and pushing the boundries of XSL: Elliot Rusty Harold - Great overview ...but its in a large single document http://www.ibiblio.org/xml/books/bible2/chapters/ch17.html XSL Reference with lots of examples (frames): http://www.zvon.org/xxl/XSLTreference/Output/index.html EXSL http://www.exslt.org/ Functional Programming Library for XSLT: http://fxsl.sourceforge.net/ Apache's Xalan: http://xml.apache.org/xalan-j/index.html robert > -----Original Message----- > From: Robert Taylor [mailto:[EMAIL PROTECTED] > Sent: Monday, April 19, 2004 10:05 AM > To: [EMAIL PROTECTED] > Subject: [OT] XSL equivalent to commons.lang.WordUtils.wrap > > > Greetings, I'm trying to duplicate some text formatting code in Java, > and need to find an XSL equivalent to the following two methods: > > org.apache.commons.lang.WordUtils.wrap() > org.apache.commons.lang.StringUtils.split() > > I've been "Googling" for about 2 days and have found some routines but either > they rely on special XSL processors or they assume that there already exists > CR in the text which are replaced with <br>. > > > I would rather not have to re-invent the wheel here. I have to believe that > there are libraries out there that do this kind of stuff. > > robert > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]