[Xpath-ng] My favorite XPath language
David Rosenborg
darolst at pantor.com
Thu Nov 21 16:04:29 MST 2002
Waleed wrote:
> I agree Berend.
>
> I think we shouldn't try to make XPath a full-fledged programming language.
> If we're going to add all the features of XQuery to it, then we might as
> well call it XQuery 2.0!!
>
> The beauty of XPath is that it's a simple node selection syntax, and
> it's very good at what it does.
I'm certainly not suggesting to have all the features of XQuery in XPath NG.
I'm actually just suggesting a very few additions of means for abstraction:
functions, variables and function libraries. Incidentally this makes XPath NG
Turing complete, but I don't think that means that XPath NG would be a full
fledged programming language. It would just be a languge suitable for very
specific XML related programming tasks.
But also, modularity would let an implementor to just provide the node
selection parts if he/she so see fit.
Cheers,
David
More information about the Xpath-ng
mailing list