Subject: Fwd: [xsl] Double-spacing <para/> From: David Nedrow <listbox@xxxxxxxxxx> Date: Sat, 28 May 2005 22:59:47 -0400 |
From: David Nedrow <dnedrow@xxxxxxx> Date: May 28, 2005 10:58:23 PM EDT To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Double-spacing <para/>, David Nedrow | Thread | [xsl] /xC3/xA1, Honglei Chen |
Re: [xsl] How do I get a SUM of the, Mukul Gandhi | Date | Re: [xsl] How do I get a SUM of the, Dimitre Novatchev |
Month |