Re: [xml-dev] What niche is XQuery targeting?

From
Elliotte Harold <>
To
Jonathan Robie <>
Date
2004-12-02T18:47:11Z
ID
<>
Thread
Re: [xml-dev] What niche is XQuery targeting?
Jonathan Robie wrote:


> We describe XQuery as a superset of XPath, and generate both documents 
> from the same XML source. And we widely advertise this fact. If there's 
> a clearer way to indicate that the languages are related, please feel 
> free to suggest it.

Given that both XQuery and XSLT are provably Turing complete (See 
http://www.mulberrytech.com/Extreme/Proceedings/html/2004/Kepser01/EML2004Kepser01.html 
among many other proofs) I suspect there's nothing one can do the other 
can't. It's mostly a question of convenience and perhaps (perhaps not) 
performance. If there's anything one can do the other can't you'd have 
to look to XPath extension functions that XSLT defines and XQuery 
doesn't, or vice versa.

-- 
Elliotte Rusty Harold  
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim