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

Re: [xsl] Default actions in XSLT 2.1


Subject: Re: [xsl] Default actions in XSLT 2.1
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Fri, 31 Oct 2008 14:10:03 -0700

>    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@xxxxxxxxxxxxxxxxxx> wrote:
>>>>>> "Dimitre" == Dimitre Novatchev <dnovatchev@xxxxxxxxx> 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


Current Thread