Marklogic Server supports both xquery and xslt, and they've written an extension that allows you to call xquery functions from within xsl stylesheets.

It works quite nicely.

Nate Trail
Network Development and MARC  Standards Office
Technology Policy Mail stop 4402
Library Services 
Library of Congress 
[log in to unmask]

-----Original Message-----
From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of Bohyun Kim
Sent: Friday, November 18, 2011 9:51 AM
To: [log in to unmask]
Subject: [CODE4LIB] XQuery, XSL, Cocoon question

Hi all,

I googled and asked around but couldn't find a satisfactory answer. So hence the question.

Does anyone know if it is possible to use XQuery inside an xsl document?  Does anyone also know if it is possible to run XQuery files inside a Cocoon sitemap?  If you use XQuery, how do you usually use it to get the most mileage out of it?