XQuery is XML Query Language,
uses a problem tailored at XSLT to compare XSLT and XQuery. If your task involves transforming a complete document into a HTML or XML representation, you should certainly use XSLT. If your task is to extract some parts of a document and rearrange contents to match an application-specific XML vocabulary, you should use XQuery.
Transforming a complete document requires to load the complete document into memory. If you just want to extract some parts, the XQuery-processor can easily leverage XML-indexes and speed up the transformation.
I am Product Manager for Collaboration and Digital Asset Management at
Posted by Martins Notepad on March 11, 2005 at 05:48 PM CET #