Subject: Fwd: Double-spacing <para/>
From: David Nedrow <listbox@xxxxxxxxxx>
Date: Sat, 28 May 2005 22:59:47 -0400
|
Begin forwarded message:
From: David Nedrow <dnedrow@xxxxxxx>
Date: May 28, 2005 10:58:23 PM EDT
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Double-spacing <para/>
Aha. I found a post by Bob Stayton that gives a work around for
this. Thought I'd post this to the list so the answer gets archived.
Code:
<xsl:template match="para[not(ancestor::footnote|
ancestor::bibliography)]">
<fo:block line-height="2.4">
<xsl:apply-imports/>
</fo:block>
</xsl:template>
The only drawback is that it requires providing a specific
"override" for the elements you don't want double-spaced (eg.
footnote and bibliography above).
-David
|