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

Re: [xsl] XSLT Hello World


Subject: Re: [xsl] XSLT Hello World
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Tue, 25 Mar 2014 14:51:34 +0000

I remember being genuinely confused why anyone would call xsl:variable
"xsl:variable" when it was in fact a constant.

The list experts explained to me why it's called that, I learned
something, and then I was happy.

It's no different to text() or != or whatever part of the language we
repeat this thread on next.

(by the way Im specifically talking about != and not = vs eq)

On 25 March 2014 14:38, Ihe Onwuka <ihe.onwuka@xxxxxxxxx> wrote:
> Exactly.
>
> But the fact that I understand the difference between eq and = it
> doesn't mean I can't appreciate it's potential to p**s people off.
>
> On Tue, Mar 25, 2014 at 2:29 PM, Andrew Welch <andrew.j.welch@xxxxxxxxx> wrote:
>>> Here "misused" doesn't mean "will give the wrong answer most of the
>>> time."  Here "misused" means "should be avoided because
>>> A. There is a better way to do it.
>>> B. Occasionally in some contexts and with some inputs, it will give
>>> unexpected/undesirable results."
>>
>> Exactly.
>>
>> The same goes for !=
>>
>>
>>
>> --
>> Andrew Welch
>> http://andrewjwelch.com


Current Thread