This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Outputting "entire nodes"
- To: Hakan Pettersson <hakanxsl15 at hotmail dot com>
- Subject: Re: Outputting "entire nodes"
- From: Warren Hedley <w dot hedley at auckland dot ac dot nz>
- Date: Thu, 22 Jun 2000 12:57:54 -0400
- CC: xsl-list at mulberrytech dot com
- Organization: Department of Engineering Science, The University of Auckland
- References: <20000622152428.58945.qmail@hotmail.com>
- Reply-To: xsl-list at mulberrytech dot com
Hakan Pettersson wrote:
>
> Is there a way to output "entire nodes"?
If, by "entire node" you mean "an element and all of its
contents", then use <xsl:copy-of select="." />.
See http://www.w3.org/TR/xslt#element-copy-of
(This element should probably have been introduced along
with <xsl:copy> in Section 7.5, but wasn't because it
can work on RTFs stored in variables which hadn't been
defined yet.)
--
Warren Hedley
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list