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

Re: pre-formatted text in FO terminology

Subject: Re: pre-formatted text in FO terminology
From: "Sebastian Rahtz" <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 1 Aug 1999 17:04:08 +0100 (BST)
fo block pre
Michel Goossens writes:
 > How can I express the fact that a <fo:block> area
 > contains pre-formatted text (that does not have to
 > be formatted, but output honoring the line-breaks,
 > multiple spaces, etc.)? In other words,how would I write
 > the equivalent of a <PRE>...</PRE> element using,
 > presumably an fo:block with a set of attributes, thus:
 > <fo:block which-attributes-here??...> 
 > 
my equivalent is

<xsl:template match="eg">
    <fo:block font-family="{$TypeWriterFont}" 
	wrap-option="no-wrap" 
	text-align="start"
	font-size="{$ExampleSize}"
	space-before.optimum="4pt"
	space-after.optimum="4pt"
	>
      <xsl:apply-templates/>
    </fo:block>
</xsl:template>

and seems to work. just the "wrap-option" attribute.

sebastian


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.