Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] normalize-space processing all nodes hack? >Thread Next - RE: [xsl] normalize-space processing all nodes hack? Re: [xsl] normalize-space processing all nodes hack?To: Date: 11/1/2007 4:22:00 PM On 01/11/2007, Kolacm Toma <kolaci@xxxxxxx> wrote: > Hi! > > I'd like to fill variable textOnly by normalized string of all text of the element A. I'm just wondering is there any way, I could write it as one XPath expression, like: > > <xsl:variable name="textOnly" select="normalize-space(A//text())"/> > > (but here only the first text node is used)? normalize-space(A) :0) -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
