profile-docbook.xsl = no graphics display in PDF

Here should go questions about transforming XML with XSLT and FOP.
AmyC
Posts: 6
Joined: Thu Sep 24, 2009 7:05 pm

profile-docbook.xsl = no graphics display in PDF

Post 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
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

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

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
AmyC
Posts: 6
Joined: Thu Sep 24, 2009 7:05 pm

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

Post by AmyC »

Hi Adrian,

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

Thanks for your response.

Amy
Post Reply