[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: Cutting strings short.
From: Thorbjørn Ravn Andersen <TRA@xxxxxxxx>
Date: Tue, 27 Jun 2000 18:12:11 +0200
> 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?

Yes, with the substring(,,) function.  See §4.2 in the XPath specification for details.

--
  Thorbjørn


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member