I've tried it and
works!!
Ramon
-----Mensaje original-----
De: Kai Ulrich [mailto:[EMAIL PROTECTED]
Enviado el: martes, 28 de mayo de 2002 12:24
Para: [EMAIL PROTECTED]
Asunto: AW: Image source
De: Kai Ulrich [mailto:[EMAIL PROTECTED]
Enviado el: martes, 28 de mayo de 2002 12:24
Para: [EMAIL PROTECTED]
Asunto: AW: Image source
try
in the xml.......
<img>
<name>nameOfImage.jpg</name>
</img>...
in the xsl.......
<xsl:template
match="img" >
<fo:block>
<fo:external-graphic src=""/>
</fo:block>
</xsl:template>
In my Application
it just worked with the absolut image-path ! Don't knew why
!
Greatings
kai
-----Ursprüngliche Nachricht-----
Von: Ramon Maria Gallart [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 28. Mai 2002 12:13
An: [EMAIL PROTECTED]
Betreff: Image source
Von: Ramon Maria Gallart [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 28. Mai 2002 12:13
An: [EMAIL PROTECTED]
Betreff: Image source
Hi all!As I said yesterday in a previous message, i'm new to xml, xsl and so on, so please be patient. Thanks.Well, the thing is that with all the documentation gathered thanks to all the answers i got yesterday i've been able to construct a xsl style sheet to produce a pdf from a xml data source using FOP. Now, what i would like to know is how can i tell xsl that i want an image whose name is in a xml tag? For example:in the xml.......<img><name>nameOfImage.jpg</name></img>...in the xsl.......<fo:block><fo:external-graphic src=""/></fo:block>...A practical axemple or where to find it would be appreciated.Thanks all.Ramon.