[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XPath 2.0

Subject: RE: XPath 2.0
From: "Brinkman, Theodore" <Theodore.Brinkman@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 8 Jan 2002 17:25:02 -0500
RE:  XPath 2.0
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:  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:  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
  • Re: XPath 2.0, (continued)
    • Brinkman, Theodore - Tue, 8 Jan 2002 17:24:24 -0500 (EST) <=
    • DPawson - Wed, 9 Jan 2002 05:58:47 -0500 (EST)
    • DPawson - Wed, 9 Jan 2002 09:14:09 -0500 (EST)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.