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

faq: operator precedence table?

Subject: faq: operator precedence table?
From: "Mark D. Anderson" <mda@xxxxxxxxxxxxxx>
Date: Sun, 12 Dec 1999 15:43:03 -0800
operator precedence table
except for a brief and incomplete list in xpath 3.4, i can find no
comprehensive operator precedence table for xpath.

if i had one i could tape it up on the wall next to the ones for
C, java, perl, and javascript.
one of the debits of not using list syntax (of the "<" or "(" variety)
is that such things are necessary....

for example, something that would tell me which of these are the same:
- a|b/c[1]
- (a|b/c)[1]
- (a|b)/c[1]
and so on.

the table is in order from least "tight", to most, with everything on
the same row being left-associative. something like this, except i'm sure
it is all incorrect:

or
and
=
!=
<=, <, >=, > 
div, mod
','(comma)
+, - (binary)
* (multiply)
- (unary)
|
/, //
[]
$
:, ::, @, .., . (pattern), * (pattern)
. (number)
()
", '


thanks.

-mda



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


Current Thread

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.