[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Using FO:Float


Subject: Re: [xsl] Using FO:Float
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 04 Nov 2006 10:01:54 +0800

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: Allerxd/Verx 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@xxxxxxxxxxxxxxxxxxxx
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


Current Thread
Keywords