So in my case, because the xml is streamed from the db and therefore doesn't reside in a directory I have no base to specify the relative path to the image from, which in most cases would be the XML file's directory?
Danny Gallagher Senior Software Engineer The Gainer Group 6075 The Corners Parkway Suite 116 Norcross Ga, 30092 -----Original Message----- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 1:48 PM To: [EMAIL PROTECTED] Subject: Re: external-graphic src problem On Jul 23, 2004, at 10:40 AM, Danny wrote: > Still not quite, I'm still missing something: > > Question, in your example: > <xsl:variable name="varImagesDirectory">/path/to/images</xsl:variable> > /path/to/images is the path from a known root > Correct? That is correct. Otherwise... > Here are my snippets > <xsl:variable name="varImagesDirectory"> > com/path/to/images > </xsl:variable> > > <fo:external-graphic src="url('{$varImagesDirectory}/pic.jpg')"> > </fo:external-graphic> ...(if I understand it correctly) would assume {XML-dir}/com/path/to/images/pic.jpg Web Maestro Clay --------------------------------------------------------------------- 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]