[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] deep copy without attributes

Subject: Re: [xsl] deep copy without attributes
From: Ihe Onwuka <ihe.onwuka@xxxxxxxxx>
Date: Mon, 20 May 2013 15:37:53 +0100

On Mon, May 20, 2013 at 3:22 PM, Andrew Welch <andrew.j.welch@xxxxxxxxx> wrote:
>> idea being to deep copy leaving the attribute nodes behind although
>> that syntax will not do that.
> You can't both deep-copy and modify the thing that you are copying.

Well I'm not going to get hung up on that semantic - after all copy
doesn't copy and as for copy of  - well what does that mean.

> Instead you have to shallow copy a node at a time, and not copy the
> attribute nodes, eg use an identity template with a no-op for
> attribute:

and that is what is cumbersome especially if you put yourself in the
shoes of what a good friend of mine calls an occasional dabbler in the

Current Thread