Re: Match Pattern Proposal

Norman Walsh wrote:
> / Alex Milowski <alex@milowski.org> was heard to say:
> | For a number of reasons--including support of streaming processors and
> | consistency between viewports and other constructs--I believe we should
> | restrict XPaths to match patterns for everything but parameters.  As
> | such, here is what I think is a cohesive proposal:
> 
> I'm not convinced.
> 
> When I write a select expression on input, for-each, or viewport, I'm
> thinking "Ok, I've got this document in my hand, what nodes do I want
> to select out of it." I think it is more natural to write a select
> expression than a match pattern.

If you are streaming, you don't have the whole document.

Streaming is an important use case here.



-- 
--Alex Milowski

"The excellence of grammar as a guide is proportional to the paucity
of the inflexions, i.e. to the degree of analysis effected by the
language considered."

Bertrand Russell in a footnote of Principles of Mathematics

Received on Wednesday, 1 November 2006 22:32:48 UTC