Re: Cutting strings short.

Subject: Re: Cutting strings short.
From: Warren Hedley <w.hedley@xxxxxxxxxxxxxx>
Date: Tue, 27 Jun 2000 12:00:56 -0400
"M.T. de Brauw" wrote:
> I would like to output a list of messagetitles and 2 lines of the actual
> message using XSL. Is it possible, using XSL, to cut off a string after say
> 75 characters?

See the substring() function in XPath

You want something like

<xsl:value-of select="substring(text, 1, 75)" />

Warren Hedley

 XSL-List info and archive:

Current Thread