RE: [xsl] Exclude elements in transformation

Subject: RE: [xsl] Exclude elements in transformation
From: Sonke Ruempler <ruempler@xxxxxxxxxxxxxxx>
Date: Thu, 16 Sep 2004 11:58:29 +0200
Andrew Welch <mailto:ajwelch@xxxxxxxxxxxxxxx> wrote on Thursday, September
16, 2004 11:41 AM:

> This will do what you ask:
> 
> <xsl:template match="*[preceding-sibling::A]"/>
> 
> But I suspect there might be a better solution - I think it's
> preferable to not select the nodes to process in the first place,
> rather than select everything and use a no-op template to suppress
> the things you don't want.  You would need to give a little more
> information for that kind of answer. 

Thx for your quick answer.

Check the thread 'XSLT and FO/FOP workarounding' for details of my problem -
maybe you know a better solution ;-)

Current Thread