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

Re: How to express in XQuery...

From: <Svgdeveloper@aol.com>
Date: Tue, 11 Feb 2003 14:50:22 EST
Message-ID: <a6.33dcce0f.2b7aadfe@aol.com>
To: mburbidg@adobe.com, www-ql@w3.org
In a message dated 11/02/2003 19:31:25 GMT Standard Time, mburbidg@adobe.com 
writes:


> <users>
>     for $user in document("...")//users
>     return { $user/name/text() }<br/>
> <users>
> 
> But the expression in the return is not a valid expression, according 
> to the Microsoft prototype.

Does the following work?

<users>
{
    for $user in document("...")//users
    return { $user/name/text() }<br/>
}
<users>

Andrew Watt
Received on Tuesday, 11 February 2003 14:51:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:18 GMT