Page 1 of 1
Missing Images
Posted: Tue May 24, 2011 12:21 am
by november
We've run our DocBook 4 XSLT transformations outside of Oxygen and now we are porting them into Oxygen. Our transformation scenario seems to be working OK but we cannot get the images to appear. It seems like a trivial problem but we cannot get it to work. We use an assortment of GIFs, JPEGs, and PNGs.
Re: Missing Images
Posted: Tue May 24, 2011 12:31 pm
by Radu
Hi,
To what type of output are you publishing? PDF, HTML, etc...
Maybe when running the XSLT from outside Oxygen you set certain parameters to the XSLT transformer.
You can also set XSLT parameters to the Oxygen XSLT transformation scenario by editing it and pressing the
Parameters button:
http://www.oxygenxml.com/doc/ug-oxygen/ ... eters.html
Regards,
Radu
Re: Missing Images
Posted: Tue May 24, 2011 5:43 pm
by november
Thanks for your prompt reply.
We generate both PDF and HTML files. Currently we are trying to get the PDFs working. I set the img.src.path parameter but to no effect.
Our source files are in one location, our customization layer is in another, both outside Oxygen.
Re: Missing Images
Posted: Wed May 25, 2011 8:39 am
by Radu
Hi,
The Oxygen Docbook to HTML transformation scenario just applies an XSLT stylesheet using Saxon 6 and the set XSLT parameters, it does not copy the images to the output folder. Did the script that you previously used copy the images to the output folder?
If you open one of the resulting HTML files which contains a reference to an image you can see where the HTML expects the image to be located.
The description for
img.src.path:
http://docbook.sourceforge.net/release/ ... .path.html
Regards,
Radu