This might also answer my question regarding dynamic text.
Could you just clarify if by the xsl file here, you mean the .fo file? Can I have xsl tags in my .fo file?
 
Rgs
Vikram
-----Original Message-----
From: Kai Ulrich [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 28, 2002 3:54 PM
To: [EMAIL PROTECTED]
Subject: 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

    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.

Reply via email to