Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - RE: [xsl] Q re Fo internal linking (& xslt processing algorithm) [Thread Next] Re: [xsl] Testing for following text()To: Date: 11/1/2007 12:51:00 PM > well if you want it purely in the template match for <s> then you can do: > > match="s[(ancestor::b[1]//text())[last()] >> .]" > > ...but there's probably a neater solution where you work it out at the > <b> level and then pass down a boolean as a tunnelled parameter. > Thanks a lot for this solution which works like a spell and also taught me the ">>" operator. In the given context I prefer it to Ken's procedural solution, but also thank you for that one. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
