[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Truncating output of a node

Subject: RE: Truncating output of a node
From: RSuiter@xxxxxxxxx
Date: Thu, 19 Apr 2001 15:17:50 -0500
truncating of the last character
Jim,

>I guess another possibility it to output n characters and add '...' at the
>end to create the summary. Is that any easier?

It might _seem_ easier, until you start worrying about whether n characters
might end anywhere between the first character of a <span> tag and the last
character of a </span> tag.  You might have the same problem with going by
sentences, if ever '. ' occurs that is not the end of a sentence yet is in
between a <span> and a </span>.

I agreed with an earlier post that it would be _much_ easier if your
sentences were marked with <sentence> </sentence> tags/

Rick Suiter



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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.