Hello,

I'm trying to create PDF from my Docbook output via the corresponding
stylesheets but FOP cannot find the image. I read Bobs description and I
believe the path of the image is correctly setup.

http://www.sagehill.net/docbookxsl/GraphicsLocations.html
http://www.sagehill.net/docbookxsl/ModularDoc.html#XIncludeGraphics

The generated FO source look like the following:

<fo:block id="d0e101"><fo:external-graphic
src="url(content/images/DojoFolder10.gif)" width="auto" height="auto"
content-width="auto" content-height="auto"/></fo:block>

and files are in the following structure:

article.fo
/content/images/DojoFolder10.gif

I also tried:

article.fo
/images/DojoFolder10.gif


If I run the FOP transformation I receive:

 [fop] Image not found. URI: content/images/DojoFolder10.gif. (See position
60:101)

Any advice would I'm doing wrong?

Best regards, Lars

-- 
Lars
http://www.vogella.de - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter

Reply via email to