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: xsl copy


> 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


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