Re: [xsl] Nodes selected by copy-of(.) versus snapshot(.)?

Subject: Re: [xsl] Nodes selected by copy-of(.) versus snapshot(.)?
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Sun, 10 Nov 2013 18:41:09 +0000
Almost right but not quite: the document node is also included in the result
of snapshot().

Your example doesn't show it, but attributes and namespaces of ancestors are
also included in snapshot().

Michael Kay
Saxonica


On 10 Nov 2013, at 10:31, Costello, Roger L. <costello@xxxxxxxxx> wrote:

> Hi Folks,
>
> I wish to confirm that I correctly understand what nodes are selected using
copy-of(.) versus using snapshot(.)
>
> I created a 4-slide Powerpoint document that graphically depicts the nodes
selected.
>
> Would you take a look and let me know if the slides are correct please?
>
> http://www.xfront.com/copy-of-versus-snapshot.pptx
>
> Thanks!
>
> /Roger

Current Thread