[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Code to Translate XSLT Functions to XQuery Functions?

Subject: [xsl] Code to Translate XSLT Functions to XQuery Functions?
From: "Eliot Kimber ekimber@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 28 Aug 2014 18:03:41 -0000

I have a couple of XSLT function modules that I'm porting to XQuery. This
is a pretty mechanical but tedious process. For the most part my functions
are relatively simple and except for one that uses analyze-string, they
are all implemented XPath expressions that will work as written in XQuery.

My question: does anybody have code that can do a partial or full
conversion of XSLT functions to XQuery functions? I found a couple of
research papers on the general subject of translating XSLT to XQuery, but
they seem to be more focused on the larger problem and not really on what
for me is essentially a lexical translation problem.

The body of functions isn't big enough to warrant trying to do this
myself, even though it would be interesting. So just looking for code
somebody has lying about that I could use.



Eliot Kimber, Owner
Contrext, LLC

Current Thread