- From: Michael Kay <mhk@mhk.me.uk>
- Date: Mon, 22 Mar 2004 13:34:04 -0000
- To: "'Kirmse, Daniel'" <daniel.kirmse@sap.com>, <www-xpath-comments@w3.org>
# # Maybe it's not the right place for this question, but no one # in comp.text.xml could/would provide an answer. A good place for such questions is the xsl-list at mulberrytech.com However, I think you've actually found a typo in the formal semantics which should be reported to public-qt-comments@w3.org ... to compute the result I'd use the XQuery # 1.0 and XPath 2.0 Formal Semantics paper section 4.2.1.1. # There an expression for evaluating the following-sibling axis # is given: # # [following-sibling:: NodeTest]Axis # == # [let $e := . in parent::node()/child:: NodeTest [.<<$e]]Expr # # and that is the problem. I think this should read: let $e := . return parent::node()/child:: NodeTest [.<<$e]] This is simply saying that the following siblings of a node are the children of the parent of that node that follow that node in document order. Michael Kay
Received on Monday, 22 March 2004 08:35:55 UTC