Subject: Re: [xsl] Re:Re: [xsl] xsl-fo: fo:floats stay with prev element and next From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 30 Sep 2013 15:33:48 -0400 |
Thanks Ken, that worked well. Although now I'm quandary. i have <images> inside <p> tags which together are keyrefs to a main map. In a topic, I have a the keyref placed inside an <ol><li><p>.
The images float right, which is great. when structure is: <xsl:when test="@outputclass= 'noboxright' " 1 <fo:block> 2 <fo:float float=end intrusion-displace=block> 3 <xsl:call=template name="commonattributes"/> 4 <fo:block> 5 <xsl:apply templates select="." mode="placeImage">....
The <ol> is placed right after a nearly page size <image placement=break> image. When printed, the 1st <li><p> will appear at the bottom of the page, and push the float image to the second <li>, the second image to the third <li> etc. I want the <li> with <p> keyrefs to stay together. If I place keep attributes in fo:block (4), the keeps won't change the problem. If I put keeps on fo:block (1), it ignores the float=end rule on 2.
Does this make sense?
-- Public XSLT, XSL-FO, UBL & code list classes: Melbourne, AU May 2014 | Contact us for world-wide XML consulting and instructor-led training | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ | G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx | Google+ profile: https://plus.google.com/116832879756988317389/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re:Re: [xsl] xsl-fo: fo:float, Bryon Thomas | Thread | |
[xsl] Re:Re: [xsl] xsl-fo: fo:float, Bryon Thomas | Date | |
Month |