Subject: Re: [xsl] Remove element that all its descendants have no text nodes|
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Thu, 11 Feb 2010 13:28:03 +0100
I didn't understand why we need the second rule too.
<xsl:template match="span[not(*) and not(normalize-space(.))]"> </xsl:template>
If you have time to explain a bit how this combination works I'll be very happy.
Martin Honnen http://msmvps.com/blogs/martin_honnen/