Suma, something like: <xsl:value select="substring(concat($s1, $s2, $s3, $spaces), 1, 100)"/> (where spaces is a string of blanks) ?
Just off the top of my head... but should work. Best regards, --------------------------------------------- Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html --------------------------------------------- > -----Original Message----- > From: SUMA INDRAGANTI [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 16, 2002 11:13 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: string handling in xsl > > > Hi > Luca, > > Iam a new member of cocoon users.I have a question > regarding handling strings in XSL. > I have a string which would appear in 3 separate > lines. > I want to compute their string length..and check if > their length is less than 100 i need to append spaces > else trim it to length 100. > please could u help me with an example. > > thanks, > suma > > __________________________________________________ > Do You Yahoo!? > Yahoo! Autos - Get free new car price quotes > http://autos.yahoo.com --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>