>What is not clear in my mind is how is XQuery positioned against XSLT.
>There seems to be quite an overlap between them. Is XQuery supposed to
>replace XSLT in the future?

I think the two are expectecd to co-exist for the indefinite future.
XQuery is about extracting data without ornate restructuring. In the
future, it may also be about updates and inserts. XSLT is about taking
an entire document/tree and restructuring it, which may involve
excluding a lot of the input, computing entire new sub-trees, changing
names, etc.

A good way to distinguish the two is to look at your source and result.
XQuery: pick out pieces of an arbitrarily large source
XSLT: restructure the whole source
You can then find the overlap by adding restructuring to XQuery and
filtering to XSLT.
.................David Marston

Reply via email to