|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: pre-formatted text in FO terminology
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








