Page 1 of 1

profile-docbook.xsl = no graphics display in PDF

Posted: Mon Jun 21, 2010 8:39 pm
by AmyC
When using profile-docbook.xsl to convert to PDF (using FOP), the graphic element (formal object = figure, PNGs) does not display in the PDF.

The graphics appear just fine when using docbook.xsl, but since I have specified conditional text in the source xml file, I need to use profile-docbook.xsl.

What's the key difference in graphics display between docbook.xsl and profile-docbook.xsl? Is it a parameter value?

Thanks,

Amy

Re: profile-docbook.xsl = no graphics display in PDF

Posted: Wed Jun 23, 2010 12:14 pm
by adrian
Hello,

In theory the profile-docbook.xsl stylesheet should only perform a filtering and then apply the regular transformation on the filtered result.

Unless you've accidentally used a profile attribute that is specified on the element that refers the PNG(or its parent elements) it should have worked without problems.

Are you using DocBook 4 or 5?
Can you provide a small sample of your DocBook document that has this problem?
Please send the sample to support@oxygenxml.com so we can analyse it and try to find a solution to the problem.

Regards,
Adrian

Re: profile-docbook.xsl = no graphics display in PDF

Posted: Wed Jun 23, 2010 3:55 pm
by AmyC
Hi Adrian,

It was a very simple solution....v4 to v5 conversion!

Thanks for your response.

Amy