W3C home > Mailing lists > Public > www-ql@w3.org > January to March 2003

RE: A simple XQuery(XPath) question...

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Thu, 20 Feb 2003 13:51:09 +0100
Message-ID: <DFF2AC9E3583D511A21F0008C7E621060453E0B9@daemsg02.software-ag.de>
To: Michael Burbidge <mburbidg@adobe.com>, www-ql@w3.org

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: 


I would have thought that it evaluated to: 


Where am I wrong? 

Received on Thursday, 20 February 2003 07:51:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:17:15 UTC