I think you have to explicitly instanciate (once) the org.apache.fop.apps.Options class with the path to your userconfig file. If you use it in a servlet, that may be done in the init() method.
thierry Troy Bottger wrote: > Does this work if I don't call it from a command line? I have uncommented > the BaseDir in the userconfig.xml and re-ran my application (servlet > application) and I am not seeing that this file is being used. > > -----Original Message----- > From: "Bucht�k, Michal" [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 28, 2002 8:51 AM > To: '[EMAIL PROTECTED]' > Subject: RE: newbie needs help with relative address for image. > > Set the BaseDir in userconfig.xml > > Michal > > -----Original Message----- > From: Troy Bottger [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 28, 2002 2:27 PM > To: '[EMAIL PROTECTED]' > Subject: newbie needs help with relative address for image. > > Everything in my XSL/FO is working perfectly except my images. The address > I am supplying is a relative address (that works if I use HTML), but does > not > work if I use XSL/FO to PDF. I have read the archives, and I am not finding > any solutions to this problem. Can anyone tell me what I am doing wrong? > > <fo:external-graphic height="24mm" width="66mm" src="{../companylogo/url}"/> > > /companylogo/url gets translated into: abc\images\merchant_logo.gif > > If I use a full path, ie. (c:\xyz\htdocs\abc\images\mechant_logo.gif) it is > fine. It is just when I specify the relative address when I get: > Error while creating area : Invalid Image URL - error on relative URL : no > protocol: null/abc/images/merchant_logo.gif > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
