xsl-list
[Top] [All Lists]

Re: [xsl] XQuery Updates in XSLT

2008-10-31 07:08:03
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:copy>
  <xsl:apply-templates select="@*|node()"/>

or

<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
suggestion!)



-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>