Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - >Thread Next - [xsl] Enjoy! (was: Re: [xsl] Limit the length of transformed content from source text nodes) [xsl] Limit the length of transformed content from source text nodesTo: Date: 10/25/2005 1:23:00 PM Hello folks Is there a way to limit the length of transformed content from source text nodes via XSLT? Here's an example: <!-- source --> <foo> <item>This is the body of an article I'm striving to snip.</item> </foo> I need to simulate the shrinking mechanism commonly used in content summaries, where the bodies of available articles are snipped to their first words followed by ellipsis (...), like this: <!-- result --> <snippets> <snippet>This is the body of [...]</snippet> </snippets> Many thanks | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
