This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Cutting strings short.


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]