Problem with admon.graphics

Here should go questions about transforming XML with XSLT and FOP.
twrichter
Posts: 13
Joined: Sun Jul 19, 2009 8:13 pm

Problem with admon.graphics

Post by twrichter »

Hello,

I've got a strange problem with graphics (oxygen) and docbook (5).

1) Installation standard, standard directories
2) Customization file in /xsl, images in xsl/images (all standard)
3) In cust.file: <xsl:param name="admon.graphics" select="1"/>
4) According to Docbook XSL fo-File looks after images/note.png, note.png available

==> no grapcis is shown when using <note> (or <tip> or...)

Could someone explain this behavior?

Thanks in advance

Thomas
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Problem with admon.graphics

Post by sorin_ristache »

Hello,

When the FO processor is applied on the result of your custom XSLT stylesheet the path images/note.png is resolved relative to the start directory of the application. You have to set the path of images with parameter admon.graphics.path.


Regards,
Sorin
twrichter
Posts: 13
Joined: Sun Jul 19, 2009 8:13 pm

Re: Problem with admon.graphics

Post by twrichter »

Hi,

thank you. I have learned that the relative path is to my directory where the resulting files are in, not relativ to the custom stylesheet.
Regards
Thomas
Post Reply