[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: testing preceding sibling always evaluates true
Thank you Michael.
I just received the 4th edition (it really is hardbound!) so I could check if anything had changed, but on p. 602 : There are three kinds of expressions in XPath 2.0 whose result is guaranteed to be a sequence of nodes in document order... o Any axis step (even and axis step like <preceding-sibling::*> that uses a reverse axis delivers its results in forwards document order) But, reading on... p. 618 In effect, the predicate operator <[]> has a higher precedence (it binds more tightly) than the path operator </> That's a bit subtle, but OK, now I know, XPath has an evaluation precedence to consider. --Hank On 07/29/2011 11:19 AM, Michael Kay wrote:
-- Louis (Hank) Ratzesberger sopac.ucsd.edu
|
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
|