[xsl] How to avoid a blank line

Subject: [xsl] How to avoid a blank line
From: Manfred Staudinger <manfred.staudinger@xxxxxxxxx>
Date: Thu, 20 Oct 2005 17:42:17 -0700
Hi all,
I've some xml document with
<div class="index"> ... </div>

I would like to eliminate the div elements and use
<xsl:template match="div[@class='index']"/>
with apply-templates, which works fine but leaves me
with a blank line at the place of the div.

How can I avoid it? I'm using Saxon 8.5.1.
Regards, Manfred Staudinger, Vienna

Current Thread