xsl-list
[Top] [All Lists]

Re: [xsl] Using FO:Float

2006-11-03 19:26:09
At 2006-11-02 14:53 -0500, Jacqueline Radebaugh wrote:
I am currently writing a XSL-FO style sheet to convert a XML file into a PDF document.

A small section of my XML is:

<change>
<description>
<p>Meeting or conference name used as a main entry in a bibliographic record.</p> <p>According to various cataloging rules, main entry under a meeting name is assigned to works that contain proceedings, reports, etc.</p>
</description>
</change>

I am trying to use <fo:float> to create a vertical line that runs along the left margin of the text surrounded by the <change> element.

But you cannot measure the length of the line to use.

XSL-FO 1.0 did not have sufficient semantics to support what you need, and these were introduced in XSL-FO 1.1. The incomplete (and for many, insufficient) work-around in XSL-FO 1.0 is to turn on the left or right border of a surrounding block ... but XSL-FO 1.0 does not have concepts of "inside" or "outside" border, just left and right.

I hope this helps.

. . . . . . . . . . Ken

--
UBL/XSLT/XSL-FO training: Allerød/Vårø Denmark 2006-11-13,17,20/24
UBL International 2006  2006-11-13/17 http://www.ublconference.com
World-wide corporate, govt. & user group UBL, XSL, & XML training.
G. Ken Holman                 mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


--~------------------------------------------------------------------
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>