[xep-support] fo:external-graphic problems

Elizabeth.Luna at fdi.de Elizabeth.Luna at fdi.de
Thu Aug 11 00:01:58 PDT 2011



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 at 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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20110811/2bdd557c/attachment.html>


More information about the Xep-support mailing list