RE: [xep-support] How to provide Stylesheetparameters when using FAIRY?

From: Karl Stubsjoen <>
Date: Fri Aug 20 2010 - 10:11:45 PDT



You cannot send stylesheet parameters in your FAIRY request. You will have
to send such types of parameters in the source xml and you will need to
modify your stylesheet(s) accordingly. There are a number of very realistic
possibilities though, including manipulating your xml source on the fly in
front of the FAIRY request, along with some very simple changes to your
stylesheets. Imagine you have the following xml structure:




... customer data here ...




Consider a dynamic process which adds parameters just in the root of the xml
source and using a custom namespace to isolate such parameters from the rest
of the document like this:



<parms:collection xmlns:parms="">

  <parms:parm name="the-date" value="2010-10-10"/>



... customer data here ...




Now your stylesheet change for the parameter value becomes:


<xsl:param name="the-date" select="//parms:parm[@name='the-date']"/>


Good luck!




Karl Stubsjoen

Senior Sales Engineer / Professional Services RenderX, Inc. (Phoenix, AZ)


Got XML?

Get RenderX!

The Leader in XML to Print Technology


+1 (925) 392-0011 Direct

+1 (602) 451-6157 Cell +1 (650) 328-8008 Fax




From: []
On Behalf Of Kirch Fritz
Sent: Friday, August 20, 2010 4:08 AM
Subject: [xep-support] How to provide Stylesheetparameters when using FAIRY?


Dear support-team,


at the moment I am using RenderX´s FAIRY solution.

I have written a WebService-Client (actually in Java, Delphi and in
SAP/ABAP) to call FAIRY for rendering my XMLs to PDF.

Everything works perfectly, even specifying a stylesheet inside my XML in
order to let FAIRY do the XML-to-FO transformation.


My question is: How can I call FAIRY when there is a need for using
stylesheet parameters?


Kind regards

Friedrich Kirch
Softwareentwicklung Media Business Suite



 +49 911 30 730-0


 +49 911 30 730-111






IT2media GmbH & Co. KG, Pretzfelder Str. 15, 90425 Nürnberg;
Kommanditgesellschaft, Sitz Nürnberg, HRA Nürnberg 12784, Persönlich
haftende Gesellschafterin: IT2media Beteiligungsgesellschaft mbH, Sitz
Nürnberg, HRB Nürnberg 19511; Geschäftsführer: Dr. Gerhard Baier, Claudia



Diese E-Mail wurde auf Viren ueberprueft.

(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service

Received on Fri Aug 20 10:25:43 2010

This archive was generated by hypermail 2.1.8 : Fri Aug 20 2010 - 10:25:46 PDT