Next in thread → Next in month →

Re: [docbook-apps] PDF customization

From
Bob Stayton <>
Date
2006-01-17T00:02:56+00:00
ID
00b801c61af9$5a6f72b0$6400a8c0@toshiro
Thread
Re: [docbook-apps] PDF customization
Here is one way to do it.  Create an empty address element with a special id
in your document:

<address id="myvariable"/>

And then add something like this to your stylesheet customization:

<xsl:param name="titlepage.email" select="''"/>

<xsl:template match="address[@id = 'myvariable']">
  <xsl:value-of select="$titlepage.email"/>
</xsl:template>

The template will only operate on that special empty address element, and it
will output the value of the stylesheet parameter named 'titlepage.email'.
You can then specify the value on the command line:

titlepage.email=""

Bob Stayton
Sagehill Enterprises
DocBook Consulting



----- Original Message ----- 
From: "Jacques Foucry" <>
To: "docbook-apps" <>
Sent: Saturday, January 14, 2006 2:24 PM
Subject: [docbook-apps] PDF customization


> Hello Folks,
>
> I try to make something different on my PDF generation.
>
> I would like to introduce a variable (for example an email address)
> on the title page.
>
> I look for some help or reference.
>
> Thanks in advance.
>
> Jacques
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>
Next in thread → Next in month →