xsl-list
[Top] [All Lists]

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

2013-10-02 09:30:11
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
xsl-fo.
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()"
keep-together.within-line="always"
keep-with-next.within-line="always">
        <fo:block font-weight="bold" text-align="start">
            <fo:inline/>1.
        </fo:block>
    </fo:list-item-label>
    <fo:list-item-body start-indent="body-start()">
        <fo:block>
            <fo:block space-after="0.6em" space-before="0.6em"
text-indent="0em"> Caution for operation, inspection and maintenance.
(09651-03001)
                <fo:block clear="end">
                    <fo:float float="end"
id="unique_9_Connect_42_d28e32" intrusion-displace="block">
                        <fo:block space-after="5mm">
                            <fo:external-graphic
src="url(file:/N:/XXXX/XXXX/Mstr_Collection_Files/Collection_Graphics/ajm00609.bmp)"/>
                        </fo:block>
                    </fo:float>
                </fo:block>
            </fo:block>
        </fo:block>
    </fo:list-item-body>
</fo:list-item>

Any help would be much appreciated! Thanks
Bryon Thomas

--~------------------------------------------------------------------
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>
  • [xsl] Expand parent element to include contents of fo:float, Bryon Thomas <=