[xep-support] Re: RenderX XEP Server : Using user-defined functions?

From: Kevin Brown <kevin@renderx.com>
Date: Wed Jun 26 2013 - 10:58:40 PDT

What you describe can easily be accomplished within the XML+XSL process
(meaning XSLT transformation) to XSL FO (not within XSL FO itself).


See this article and research calling Java classes from XSLT/Saxon:




Kevin Brown




From: xep-support-bounces@renderx.com
[mailto:xep-support-bounces@renderx.com] On Behalf Of Nicolas Dubien
Sent: Wednesday, June 26, 2013 5:19 AM
To: xep-support@renderx.com
Subject: [xep-support] RenderX XEP Server : Using user-defined functions?


Dear Sir or Madam,

I am looking for an XLS-FO engine that can fit with my current architecture.
I am already using other engines which are based on other technologies -
not-XSL-FO. In our current architecture we are using user-defined functions
to add our proper features to the engine.

As a matter of fact, I was wondering if it is possible to integrate
user-defined functions in my XSL-FO templates and define them in Java. Then
your engine will call my Java function if necessary. I did not find any
solutions to do this on your website.

Here are examples of functions I would like to be able to call from your
engine during the generation:
 * getResourceUrl("my resource name")
 * ChangeCase($first_name_from_xml, "Upper")
 * GetId($first_name_from_xml, $last_name_from_xml)

One of the engines I am using for the moment is FreeMarker, it has this
feature. It allows developers to wrap their own objects and send them to
their engine.



I am looking forward to hearing from you,

Nicolas DUBIEN


(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
Received on Wed Jun 26 10:58:46 2013

This archive was generated by hypermail 2.1.8 : Wed Jun 26 2013 - 10:58:52 PDT