- From: Michael Rys <mrys@microsoft.com>
- Date: Wed, 19 Feb 2003 16:48:51 -0800
- To: "Michael Burbidge" <mburbidg@adobe.com>, <www-ql@w3.org>
Received on Wednesday, 19 February 2003 19:49:18 UTC
(<mike><bob/><bob/></mike>) gives you a mike element. (<mike><bob/><bob/></mike>)/mike tries to give you the mike child of mike (which is ()). Try: (<mike><bob/><bob/></mike>)/bob -----Original Message----- From: Michael Burbidge [mailto:mburbidg@adobe.com] Sent: Wednesday, February 19, 2003 16:33 PM 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 Wednesday, 19 February 2003 19:49:18 UTC