This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: using xsl:copy
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] using xsl:copy
- From: Eric van der Vlist <vdv at dyomedea dot com>
- Date: Tue, 23 Jan 2001 18:10:02 +0100
- Organization: Dyomedea <http://dyomedea.com>
- References: <691DBE9A8205D41195A400B0D0219AA80159EE24@mailny01.kpe.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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