This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Cutting strings short.
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Cutting strings short.
- From: Thorbjørn Ravn Andersen <TRA at stibo dot dk>
- Date: Tue, 27 Jun 2000 18:12:11 +0200
- Reply-To: xsl-list at mulberrytech dot com
> 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