Problème avec fo:external-graphic !
Bonjour à tous,
voici mon problème.
Mon image n'apparaît pas dans mon fichier PDF !!! :(
Mon fichier XML :
Code:
1 2 3 4 5 6 7 8 9
| <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Devis xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="mon_fichier.xsd">
<EnTete>
<Logo>
<img>file:/C:/mon_fichier.jpg</img>
</Logo>
</EnTete>
</Devis> |
Mon fichier XSL :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| <xsl:template match="/">
...
<fo:static-content flow-name="xsl-region-before"
font-size="12pt" font-family="Times New Roman">
<fo:block>
<xsl:param name="image" select="EnTete/Logo/img" />
<fo:external-graphic src="{concat('url','(',$image,')')}"
content-height="80px" content-width="640px" />
</fo:block>
</fo:static-content>
...
</xsl:template> |
Une idée ?
Merci par avance.
FM