Re: How to express in XQuery...

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 UTC