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 1:35:00 PM On 01/11/2007, G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote: > Then I recommend you change it to the following: > > match="s[(ancestor::b[1]//text()[normalize-space()])[last()] >> .]" > > ... so that you catch text nodes that have non-white-space > characters, or alternatively that you ensure all white-space-only > text nodes are removed from the source tree by either an > <xsl:strip-space> instruction or at invocation. > > I'm thinking that with the original proposal any indentation found in > the source tree would allow the <s> to be matched. you sure? -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
