[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: Alex Muir <alex.g.muir@xxxxxxxxx>
Date: Sat, 29 Mar 2014 20:45:24 +0000

On Sat, Mar 29, 2014 at 8:09 PM, David Carlisle <davidc@xxxxxxxxx> wrote:
> On 29/03/2014 19:55, Alex Muir wrote:
>>
>> deep-text() or all-text-nodes(), something like that might have made
>> things more clear. Actually to be honest I don't care much about
>> that.
>
>
> would you also change node() and element() and attribute() which all
> work the same way and also have a "singular" name?

well it's not the singular name that is the problem. Just the lack of
conveying that it applies to everything below the context node. It
could be made more clear although I admit I don't feel there is a good
word to describe that which comes to mind other than deep. Maybe part
of the problem.


Ah I don't really care,, it's just the principle that something can't
change because of previous versions that I don't agree with. Than your
stuck always with what you did before?


>
>>
>> It should though be easier to change things in a language if they
>> are really a source for misunderstanding from my viewpoint. Changing
>> something like a name moving from one version to another can't be
>> that problematic.
>
>
> I really disagree here. The vast majority of XSLT 1 stylesheets work
> unchanged on XSLT 2 systems so you can flip between systems when
> necessary or share "utility" stylesheets that are imported into
> xslt1 and xslt2 stylesheets. Breaking that functionality just for a name
> change (even if the change itself wasn't highly dubious) would be
> a really bad step.
>
> HTML has remained popular not least because a current browser can still
> run "html 1" documents from 1998, it doesn't have separate modes for
> every version. (well if we avoid mentioning IE :-)

Really is that why it's remained popular? Lack of modes? I don't
know,, I think it's popular because of how well the language has
evolved to separate html from css and the evolution of javascript,
json... It's the users that make it popular not what the browser is
doing behind the scenes..




>
> David
>



-- 
-

Alex Muir
http://ca.linkedin.com/pub/alex-muir/36/ab7/125


Current Thread
Keywords