Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] normalize-space processing all nodes hack?


Subject: Re: [xsl] normalize-space processing all nodes hack?
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Thu, 1 Nov 2007 16:20:59 +0000

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/


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords