RE: [xsl] Fwd: XSLT2toXQuery transformation

Subject: RE: [xsl] Fwd: XSLT2toXQuery transformation
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 25 Aug 2009 20:57:51 +0100
> Do someone ear about an advanced (or finished) project of 
> converting XSLT 2.0 to XQuery 1.0 ?
> 
> The reverse project of David C. (XQ2XSLT 
> http://monet.nag.co.uk/xq2xml/#s4), something along the line of this (
> http://dev.eclipse.org/viewcvs/indextech.cgi/gmt-home/subproje
> cts/ATL/ATL_examples/XSLT2XQuery/ExampleXSLT2XQuery%5Bv00.01%5
> D.pdf?revision=1.1
> )
> 
> Anything news in this direction ?
> 


A pretty substantial project: XSLT is a much bigger language than XQuery.
Just consider the problem of parsing match patterns and turning them into
XQuery boolean functions that test whether a node matches a pattern; then
consider the job of compiling apply-templates into a sequence of calls on
such functions; and then consider making it perform well.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

Current Thread