RE: [xsl] XPath 2.0

Subject: RE: [xsl] XPath 2.0
From: "Brinkman, Theodore" <Theodore.Brinkman@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 8 Jan 2002 17:25:02 -0500
Just an idea posted by a total X* newbie...

Would it be a good idea to change '<' to 'less', '<<' to 'before', '>' to
'more', and '>>' to 'after'?  Gets rid of the confusion over <,>,<<, and >>
showing up in a file a person is trying to parse.  (I know it still throws
me off.)

	- Theo

-----Original Message-----
From: Evan Lenz [mailto:elenz@xxxxxxxxxxx]
Sent: Tuesday, January 08, 2002 5:17 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] XPath 2.0


I've gotten used to typing &lt; for "<", but it helps that there's some
semantic association in the letters "lt" with the operator's actual
function.

Twice as bad, to me, would be if we were also required to type &gt; for ">"
(which people do anyway). "&lt;&lt;" is exponentially worse, IMHO.

So far, XPath 1.0 has done a good job isolating escape issues to the "<"
operator (and sometimes &apos; or &quot;). I think it's a good thing that we
have "and" instead of "&". When possible, we should avoid using markup
characters as though we were unaware that this stuff had to be used in XML.

That said, there are a lot bigger fish to fry.

Evan

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of David
> Carlisle
> Sent: Tuesday, January 08, 2002 1:46 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] XPath 2.0
>
>
>
>
>
> > Does anyone on this list care that "<<", when used in XSLT,
> would have to be
> > written as "a&lt;&lt;b"?
>
> not too much
>
> a) it's only twice as bad as < and not too many people have complained
>    about that.
>
> b) As with < you'd almost always be able to easily restructure your
>     query in terms of >> if it bothered you.
>
> c) Anyone rash enough to use an XML editor to type their XSLT files
>    instead of using emacs can presumably type << anyway.
>
> David
>
>
>
>
>
>
>
>
>
>
>
>
> _____________________________________________________________________
> This message has been checked for all known viruses by Star Internet
> delivered through the MessageLabs Virus Scanning Service. For further
> information visit http://www.star.net.uk/stats.asp or alternatively call
> Star Internet for details on the Virus Scanning Service.
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread