Re: [xsl] using xsl:copy

Subject: Re: [xsl] using xsl:copy
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Tue, 23 Jan 2001 18:10:02 +0100
Alec Cove wrote:
> 
> How can I output the html without the <description> tags? I wish to preserve
> the <b> tags which may or may not be there.

You can just go 'below' the description:

 <xsl:copy-of select="description/b|description/text()"/>

or (less selective) 

 <xsl:copy-of select="description/*|description/text()"/>

Hope this helps.

Eric
-- 
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.com
------------------------------------------------------------------------

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread