The subexpression (<mike><bob/><bob/></mike>) evaluates to a <mike> element. The next step in the path expression tries to find a child of this element called "mike"; but there isn't one. Michael Kay -----Original Message----- From: Michael Burbidge [mailto:mburbidg@adobe.com] Sent: 20 February 2003 00:33 To: www-ql@w3.org Subject: A simple XQuery(XPath) question... The following XQuery expression evaluates to the empty sequence: (<mike><bob/><bob/></mike>)/mike/bob I would have thought that it evaluated to: <bob/><bob/> Where am I wrong? Thanks, Michael-Received on Thursday, 20 February 2003 07:51:42 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:18 GMT