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

[xsl] Expand parent element to include contents of fo:float

Subject: [xsl] Expand parent element to include contents of fo:float
From: Bryon Thomas <bthomas30@xxxxxxxxx>
Date: Wed, 2 Oct 2013 10:29:57 -0400

Using Oxygen 15 with DITA-OT 1.7, Antenna House 6, xsl-fo
xsl version 2.0. Non specialized DITA

Thanks to Ken for helping with the floats offsetting each other.
I found CSS related materials for expanding the block of a containing
element to surround a float, but I can't figure out how to apply it to
I have a series of list items like below, but the result is the first
list item pushes the float to the second list item (1st and 2nd list
items are close together), and the graphics are all pushed down by
one. What's odd is that after the first item, everything would line up
perfectly except for them being off by one. Each image is a larger
than the inline text.

 <fo:list-item space-after="1.5pt" space-before="1.5pt">
    <fo:list-item-label end-indent="label-end()"
        <fo:block font-weight="bold" text-align="start">
    <fo:list-item-body start-indent="body-start()">
            <fo:block space-after="0.6em" space-before="0.6em"
text-indent="0em"> Caution for operation, inspection and maintenance.
                <fo:block clear="end">
                    <fo:float float="end"
id="unique_9_Connect_42_d28e32" intrusion-displace="block">
                        <fo:block space-after="5mm">

Any help would be much appreciated! Thanks
Bryon Thomas

Current Thread