OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: 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"/>

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:


Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "Jacques Foucry" <jacques@foucry.net>
To: "docbook-apps" <docbook-apps@lists.oasis-open.org>
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: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]