xsl-list
[Top] [All Lists]

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

2014-03-29 15:45:42
On Sat, Mar 29, 2014 at 8:09 PM, David Carlisle 
<davidc(_at_)nag(_dot_)co(_dot_)uk> 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


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




-- 
-

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

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