Re: XML to PDF (embedded) images paths

2008-04-22 Thread bonekrusher
Great. This helps a bunch. Regards, Jeremias Maerki-2 wrote: > > Using relative URIs/URLs is usually a good idea but you need to make > sure the base URI/URL is set accordingly. This is done either through > the configuration file ("base" setting) or through the setBaseURL() > methods on FopFa

Re: XML to PDF (embedded) images paths

2008-04-20 Thread J.Pietschmann
bonekrusher wrote: I have an XSLT that creates my PDF. My @src path is always going to be a relative path. e.g. src="file:g0001.png". Technically, "file:g0001.png" is an invalid URL. You try to use the concepts "relative URL" and "relative path in a file system", interchangeably, which

Re: XML to PDF (embedded) images paths

2008-04-16 Thread Jeremias Maerki
Using relative URIs/URLs is usually a good idea but you need to make sure the base URI/URL is set accordingly. This is done either through the configuration file ("base" setting) or through the setBaseURL() methods on FopFactory and FOUserAgent. If you do userAgent.setBaseURL("file:///C:/Temp/") a

XML to PDF (embedded) images paths

2008-04-16 Thread bonekrusher
Hi, This might be a dumb question but I am trying to get an understanding of best practices. I have an XSLT that creates my PDF. My @src path is always going to be a relative path. e.g. src="file:g0001.png". When running XML - PDF I get "image not found". When I use XML-FO-PDF, I know my