Did RenderX change the shell script for running XEP in version 4.19? How does it compare to an earlier version?

Bob Stayton
Sagehill Enterprises
[email protected]


----- Original Message ----- From: "Jacques Foucry" <[email protected]>
To: "docbook-apps docbook-apps" <[email protected]>
Sent: Sunday, February 05, 2012 8:53 AM
Subject: [docbook-apps] PDF Cutomization


Hello folks,

Many times ago I tried to add variables text in my genereted PDF.

I found simple workaroud: use --stringparam with xsltproc and -param with XEP (which is the one I use).

So I call xep like that:

xep -xsl myStylesheet.xsl -xml myFile.xml -param buyer.name="John Doe" -pdf /tmp/dummy.pdf

Inside myStyleSheet.xsl I defined a default value for buyer.name

<xsl:variable name="buyer.name" select="nobody nobody"/>

And i use it in a template

<xsl:template name="generated.for">
<fo:block>
<xsl:text>This PDF was generated for </xsl:text>
<xsl:value-fo select="$buyer.name"/>
</fo:block>
</xsl:template>


It had worked. But since I updated XEP to 4.19, It does not work anymore, every time I found nobody nobody instead of John Doe.

Is any one could help me?

Regards,

Thanks in advance,
Jacques
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to