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

Re: [xsl] Things that make you go Hmmmm!


Subject: Re: [xsl] Things that make you go Hmmmm!
From: Ihe Onwuka <ihe.onwuka@xxxxxxxxx>
Date: Fri, 28 Mar 2014 19:47:33 +0000

the question was why the select attribute appears on xsl:copy in xslt 3.0 only.

it has been answered.

what is your problem?

On Fri, Mar 28, 2014 at 7:35 PM, Dimitre Novatchev <dnovatchev@xxxxxxxxx> wrote:
>> As to my point. For the same reasons I would expect the content models
>> of xsl:next-match, xsl:apply-templates and xsl:apply-imports to be the
>> same.
>
> Someone definitely needs to read and practice. Asking piecemeal
> questions about fundamental properties of the language isn't generally
> helpful.
>
> This reminds me of a Chinese proverb:
>
> "Give a man a fish, and you feed him for a day; show him how to catch
> fish, and you feed him for a lifetime."
>
> Answering scattered, piecemeal questions will only feed him for a day.
> We cannot teach the man how to fish just in an answer"
>
> This is provided by good books (such as Michael Kay's) or training.
>
> Cheers,
> Dimitre
>
> On Fri, Mar 28, 2014 at 10:50 AM, Ihe Onwuka <ihe.onwuka@xxxxxxxxx> wrote:
>> I'm not sure what point you are making.
>>
>> As to my point. For the same reasons I would expect the content models
>> of xsl:next-match, xsl:apply-templates and xsl:apply-imports to be the
>> same.
>>
>> They may not be but it would be my default starting expectation and to
>> find that they were not, would for me be tantamount to a surprise.
>>
>> On Fri, Mar 28, 2014 at 4:48 PM, Andrew Welch <andrew.j.welch@xxxxxxxxx> wrote:
>>>> I was surprised that the content models of xsl:copy and xsl:copy-of
>>>> were different (by dint of the select attribute) in the first place.
>>>
>>> They are still different, no? shallow vs deep.
>>>
>>> The select on xsl:copy just means you can point to different node than
>>> the context node.
>>>
>>>
>>> --
>>> Andrew Welch
>>> http://andrewjwelch.com


Current Thread
Keywords