Re: [xsl] exslt tokenize mixed content

Subject: Re: [xsl] exslt tokenize mixed content
From: Richard Lewis <richardlewis@xxxxxxxxxxxxxx>
Date: Wed, 1 Nov 2006 18:45:23 +0000
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
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Current Thread