Re: [xsl] How to avoid a blank line

Subject: Re: [xsl] How to avoid a blank line
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 21 Oct 2005 14:28:18 +0100
you want text nodes that are all whitespace and immediately followed by
a div with an index class to go so:

<xsl:template match="text()[not(normalize-space())]
                           [following-sibling::node()[1]/self::div/@class='index']"
/>

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread