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

Re: [xsl] XQuery Updates in XSLT

Subject: Re: [xsl] XQuery Updates in XSLT
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Fri, 31 Oct 2008 11:07:31 +0000

> What could be more explicit than copy?

The (slight) problem with just "copy" is that there are two types of
copy: shallow and deep, and so its not clear immediately clear whether
the default action for "copy" is:

  <xsl:apply-templates select="@*|node()"/>


<xsl:copy-of select="."/>

Maybe "copy" could be improved on to make it clear that it's not a
straight copy, for example "copy-descent"  (that's an example, not a

Andrew Welch
Kernow: http://kernowforsaxon.sf.net/

Current Thread