[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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 < 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 > for ">" (which people do anyway). "<<" is exponentially worse, IMHO. So far, XPath 1.0 has done a good job isolating escape issues to the "<" operator (and sometimes ' or "). 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<<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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|