At 01:02 PM 8/14/2006, you wrote:
Wendell Piez wrote:
> > (//Value)[1]
> I've started teaching /descendant::Value[1] as a more intuitive and
> transparent solution to this little (but consequential) conundrum.
> It's also reassuring to newcomers who want a simple thing to be
> simple
What you gain somewhere, you loose it elsewhere. For example in the
simple "definition" of "//" (something like "it is identical to
descendant::").
Ah, but that definition is inaccurate, which is why the difficulty
arises to begin with.
I think that to know the language, you have to know such subtleties.
But of course, at the biginning, using a less error-prone alternative
is best. And I think the abbreviate syntax is more intuitive and
readable to the non-used eye.
It is, until it gets you into trouble because you think it's defined
one way and it's actually defined another. In other words, what you
gain somewhere, you lose elsewhere.
Of course I prefer to show the truth of the matter -- and do, to
anyone who has ears to hear. But for learners who get all huffy that
something doesn't work the way they think it "should", it's nice to
have a simple alternative that doesn't pull their chains.
Cheers,
Wendell
--~------------------------------------------------------------------
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>
--~--