[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Fwd: Double-spacing <para/>

Subject: Fwd: Double-spacing <para/>
From: David Nedrow <listbox@xxxxxxxxxx>
Date: Sat, 28 May 2005 22:59:47 -0400
dave nedrow
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.