- From: Mary Fernandez <mff@research.att.com>
- Date: 07 Jan 2003 08:24:47 -0500
- To: Howard Katz <howardk@fatdog.com>
- Cc: www-ql@w3.org
The context node/item can be bound in the dynamic environment by the query environment (e.g., in an API call or via some interface provided by the query processor). The expression below will raise an error if the context node is not bound, but will evaluate to (child::salary, child::bonus) otherwise. On Mon, 2003-01-06 at 20:12, Howard Katz wrote: > > I'm trying to understand the semantics of constructed sequences. The > following query is given as an example of a valid sequence in "3.3.1: > Constructing Sequences" in both the current XPath 2.0 and XQuery 1.0 working > drafts: > > (salary, bonus) > > with the following commentary: "This expression contains all salary children > of the context node followed by all bonus children" > > Can this expression be used outside a location path? I can see returning > this expression as a function result, but can someone provide other examples > of valid use? And in such a case, what is the meaning of "context node"? > > Thanks, > Howard > -- Mary Fernandez, Principal Technical Staff Member AT&T Labs - Research, 180 Park Ave., Room E243, Florham Park, NJ 07932-0971 phone: 973-360-8679, fax: 973-360-8187 mff@research.att.com, http://www.research.att.com/~mff
Received on Tuesday, 7 January 2003 08:31:03 UTC