RE: top-level location-path context dependencies

The problem with input() is that its type is basically item* which makes
it a function that is hard to interoperate over or give more specific
static type information. With a variable, you will be able to know more
since you have it added to the static context and the dynamic context...

Michael

> -----Original Message-----
> From: Jason Hunter [mailto:jhunter@acm.org]
> Sent: Sunday, April 18, 2004 11:20 AM
> To: Michael Rys
> Cc: Howard Katz; www-ql@w3.org
> Subject: Re: top-level location-path context dependencies
> 
> Michael Rys wrote:
> 
> > In XQuery, the solution is very simple if you make it explicit:
> >
> > Bind a variable to the sequence.
> 
> The other solution is to bring back input() from the May 2003 draft.
> That's actually more elegant.
> 
> -jh-

Received on Sunday, 18 April 2004 14:25:40 UTC