Re: [xsl] Using a Java Function in XSLT

Subject: Re: [xsl] Using a Java Function in XSLT
From: Jeff Sese <jsese@xxxxxxxxxxxx>
Date: Thu, 25 Oct 2007 17:10:29 +0800
Thanks, Kamal, Michael for the info on this one... I'm putting this on hold because of the urgency of the project so I'm going will the XML Filter approach, but I'll definitely use this in the future.

I'm going to use Saxon for this because the existing stylesheet that I'm going to integrate it with is using XSLT 2.0.

What kind of object is passed if I want to pass a the current node that matches the template to the extension function? Currently the existing java class that i plan on using expects a File object.

-- Jeff

On 10 25, 07, at 4:16 PM, Michael Kay wrote:


Is this possible?



Yes, but the details depend on the XSLT processor that you are using. For
Saxon, the information is at


http://www.saxonica.com/documentation/extensibility/functions.html

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


Jeferson L. Sese jsese at asiatype dot com Asiatype Incorporated Suite 114 Columbia Tower, Ortigas Ave. Greenhills, Mandaluyong City 1550 Philippines

Current Thread