Subject: Re: 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 |
- using xsl:copy
- Alec Cove - Tue, 23 Jan 2001 11:56:31 -0500 (EST)
- Eric van der Vlist - Tue, 23 Jan 2001 12:10:36 -0500 (EST) <=
- cutlass - Tue, 23 Jan 2001 12:16:40 -0500 (EST)
- Frank Hess - Tue, 23 Jan 2001 12:19:06 -0500 (EST)
- David Carlisle - Tue, 23 Jan 2001 12:19:33 -0500 (EST)
- <Possible follow-ups>
- Edmund Mitchell - Tue, 23 Jan 2001 12:15:08 -0500 (EST)
|
|