470,870 Members | 1,398 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,870 developers. It's quick & easy.

[FO] Image-Import does not work

Hello,

I use FOP to generate a PDF from an .fo-file. I try to import an image
with this code:

<fo:instream-foreign-object>
<svg:svg xmlns:svg="http://www.w3.org/2000/svg" width="110pt"
height="43pt" viewBox="0 0 373 105">
<svg:image xmlns:xlink="http://www.w3.org/1999/xlink" width="100%"
height="100%" x="0" y="0" xlink:href="logo.gif"/>
</svg:svg>
</fo:instream-foreign-object>

The .fo-file is in the same folder as the logo.gif

This doesn't work. If I make the link non-relative like this:
"file:/d:/templates/logos/logo.gif"
it works fine.

Where is my mistake, any ideas?

Greetings!

Apr 5 '06 #1
0 967

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Adam Augusta | last post: by
reply views Thread by Rary | last post: by
reply views Thread by Nathan | last post: by
reply views Thread by Keith Davies | last post: by
reply views Thread by jklBruin | last post: by
2 posts views Thread by Uliana | last post: by
1 post views Thread by jamesm6162 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.