This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Outputting "entire nodes"


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]