Bonjour à tous,
voici mon problème.
Mon image n'apparaît pas dans mon fichier PDF !!!
Mon fichier XML :
Mon fichier XSL :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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>
Une idée ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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>
Merci par avance.
FM
Partager