This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Wrong XML-element being displayed after Transformation
- From: "Jochen Metzger" <j dot metzger at steptown dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 17 Jul 2002 18:21:54 +0200
- Subject: Re: [xsl] Wrong XML-element being displayed after Transformation
- References: <7BC81EA1BAB7D411BEE500306E0014C001B3526E@evks16.evk.admin.ch>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi Constantino,
> Hi Jochen,
> that's because if no template matches a part of your document (as is for
foo
> in your case), the content of that part is simply written to the output by
> default.
> To avoid this, just add an empty template, like:
> <xsl:template match="foo"/>
<xsl:apply-templates
I used that solution from Jeni,
select="module/required/recordset" />
That's great.
thanks to your advice
Now I can carry on.
Cheers
Jochen
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list