[xep-support] fo:external-graphic problems

From: <Elizabeth.Luna@fdi.de>
Date: Thu Aug 11 2011 - 00:01:58 PDT

I have problems with fo:external-graphic

Why shows the images on the next line within a flow text

Skips a line, then displays the image on the next line

 <xsl:template match="img">
        <fo:float float="{@align}">

                <fo:block>
                        <fo:external-graphic src="url(../../{@src})"
content-width="{@width}" content-height="{@height}"/>
                </fo:block>
        </fo:float>
</xsl:template>

 texttexttexttexttexttexttexttex
 texttexttexttexttexttexttexttex
 texttexttexttexttexttexttexttex
 texttexttexttexttext
 texttexttexttexttext imageimage
 texttexttexttexttext imageimage
 texttexttexttexttext imageimage
 texttexttexttexttext imageimage
 texttexttexttexttext imageimage
 texttexttexttexttext imageimage
 texttexttexttexttext imageimage
 texttexttexttexttext imageimage
 texttexttexttexttext imageimage
 texttexttexttexttexttexttexttex
 texttexttexttexttexttexttexttex
 texttexttexttexttexttexttexttex
 texttexttexttexttexttexttexttex

xml:
<normal-text>
        texttexttexttexttexttexttext textexttexttexttexttexttexttexttex ...
        <img src="image.jpg" width="95px" height="133px" align="right" alt
="" title="" caption="" padding-top="0px" padding-left="0px" padding-bottom
="0px" padding-right="0px" margin-top="0px" margin-left="0px" margin-bottom
="0px" margin-right="0px">
        </img>
        texttexttexttexttexttexttext textexttexttexttexttexttexttexttex ...
</normal-text>

<a href="http://www.fdi.de" target="_blank"><img
src="http://www.fabriquedimages.de/fdi/web.nsf/gfx/fdi-Logo-2011-250px.gif/$file/fdi-Logo-2011-250px.gif"
 width="250" height="39" alt="fdi" title="fdi" border="0"></a><br>
fabrique d´images ebusiness GmbH
Ankergässele 2 - 87435 Kempten (Allgäu) - Germany
Phone +49 (0)831 / 52 39 40 0 - Fax +49 (0)831 / 52 39 40 79
 eMail Elizabeth.Luna@fdi.de
www.fdi.de

Geschäftsführer: Thomas Reisacher
Sitz der Gesellschaft: Kempten (Allgäu)
Registergericht: Kempten HRB 1749
Ust.-ID-Nummer: DE 216 196 532

__________________________________________________________________________________________________________________________________
<br><img
src="http://www.fabriquedimages.de/fdi/web.nsf/gfx/environment.gif/$file/environment.gif"
 width="24" height="25" alt="" border="0">
  Please consider the environment before printing this e-mail.

!DSPAM:87,4e437d8663731094511062!

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Wed Aug 10 23:58:24 2011

This archive was generated by hypermail 2.1.8 : Wed Aug 10 2011 - 23:58:28 PDT