Re: general path expressions and XQuery

> Thank you for the information. At this point I would like to point out that
> in my opinion the lack of general path expression support as well as the
> lack of wildcards on element and attribute matching are two important
> disadvantages of XQuery.

(1) Do you have examples where you need general path expressions and
ancestor, descendant are not sufficient?

(2) What do you mean "lack of wildcards on element and attribute matching"?
Why don't * and @* in XPath satisfy this requirement?

-- P

-----------------------------------------------------------------------
Philip Wadler                                          wadler@avaya.com
Avaya Labs               http://www.research.avayalabs.com/user/wadler/
233 Mount Airy Road, room 2C05                  office: +1 908 696 5137
Basking Ridge, NJ 07920                            fax: +1 908 696 5402
USA                                               home: +1 908 626 9252
                                                  cell: +1 908 872 4436
-----------------------------------------------------------------------
"When a Mathematical Reasoning can be had it's as great a folly to make
use of any other, as to grope for a thing in the dark,  when you have a
Candle standing by you."                        -- John Arbuthnot, 1692
-----------------------------------------------------------------------

Received on Monday, 7 January 2002 12:53:34 UTC