Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - >Thread Next - Re: [xsl] Truncated text string, relative to child node [xsl] Truncated text string, relative to child nodeTo: Date: 7/1/2008 6:44:00 PM I have an XML file like this: <a> lorem ipsum text ... lorem ipsum <b> dolor </b> lorem ipsum ... lorem ipsum </a> I want to create a string of the five words from <a> right before the <b> tag, and a string of the five words immediately after <b>. All I can do is create strings from the beginning or the end of the <a> tag, but basically I want the text in the middle, relative to the child <b> node. Thanks! | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
