xsl-list
[Top] [All Lists]

Re: [xsl] Default actions in XSLT 2.1

2008-10-31 17:10:50
   Dimitre>   <xsl:mode default-action="clone"/>

   Dimitre> So, we are not interested in the exact way the clone is
   Dimitre> produced (or its granularity) as long as we get an exact
   Dimitre> clone of the input.

But we don't (in general, as other templates affect the result)!

Sure.  This is the "default-action"  -- what to expect in the absence
of anything else.



-- 
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play






On Fri, Oct 31, 2008 at 1:53 PM, Colin Paul Adams
<colin(_at_)colina(_dot_)demon(_dot_)co(_dot_)uk> wrote:
"Dimitre" == Dimitre Novatchev <dnovatchev(_at_)gmail(_dot_)com> writes:

   >> Since it is proposed to be the first of the two alternatives,
   >> which is not copying, then I withdraw my comment.
   >>
   >> Perhaps modified-copy would be a better name.

   Dimitre> I would propose:

   Dimitre>   <xsl:mode default-action="clone"/>

   Dimitre> So, we are not interested in the exact way the clone is
   Dimitre> produced (or its granularity) as long as we get an exact
   Dimitre> clone of the input.

But we don't (in general, as other templates affect the result)!

--
Colin Adams
Preston Lancashire

--~------------------------------------------------------------------
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>
--~--



--~------------------------------------------------------------------
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>