xsl-list
[Top] [All Lists]

Fwd: Double-spacing <para/>

2005-05-28 19:59:47


Begin forwarded message:


From: David Nedrow <dnedrow(_at_)usa(_dot_)net>
Date: May 28, 2005 10:58:23 PM EDT
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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






--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>