Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - RE: [xsl] exslt tokenize mixed content [Thread Next] Re: [xsl] exslt tokenize mixed contentTo: Date: 11/1/2006 6:59:00 PM On Wednesday 01 November 2006 16:31, Michael Kay wrote: > Try > > <xsl:variable name="spaced-out-nodes"> > <xsl:for-each select=".//text()"> > <xsl:text> </xsl:text> > <xsl:value-of select="."/> > <xsl:text> </xsl:text> > </xsl:for-each> > </xsl:variable> > <xsl:variable name="words" select="str:tokenize($spaced-out-nodes)"/> > Cool. Thats got it. Thanks. Now I just need to solve the million and one other problems! Cheers, Richard -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Richard Lewis Sonic Arts Research Archive http://www.sara.uea.ac.uk/ JID: ironchicken@xxxxxxxxxxxxxxx -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
