[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: xsl copy
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Wed, 25 Apr 2001 17:15:41 +0100
> Is there a way to copy attributes without having to perform a
> deep copy
> (copy-of)?

Since attributes have no children a deep copy is the same as a shallow copy.

You can copy an attribute using <xsl:copy/> but it has to be the current
node, which is why <xsl:copy-of> is often more convenient.

Mike Kay
Software AG


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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member