Aaaaah! I misunderstood you. Yes, if I do the configuration programmatically instead of my fop-config.xml, of course I have dynamic access to everything! Great, I'll check now if I could reference font-metrics and embedded fonts this way as well.
Thank you VERY much! > -----Original Message----- > From: J.Pietschmann [mailto:[EMAIL PROTECTED] > Sent: Freitag, 12. August 2005 22:20 > To: fop-users@xmlgraphics.apache.org > Subject: Re: Relative URLs > > Sonja Löhr wrote: > > I now try to replace an absolute URL on an external-graphic element > > with a relative one. > > You'll probably need to set the baseDir in the FOP configuration. > See > http://xml.apache.org/fop/embedding.html#config-internal > Try getRealPath("/") on the servlet context in order to get a > useful file system path. > > J.Pietschmann > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]