?
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: Thursday, July 22, 2004 4:41 PM
To: [EMAIL PROTECTED]
Subject: Re: external-graphic src problem
On Jul 22, 2004
On Jul 23, 2004, at 6:20 AM, Danny wrote:
Clay,
Thanks for the response.
The xml is being streamed from the database in this instance, so there
is no
xml file that resides in a directory to serve as the base for the
relative
path.
Is there no way to use to a classpath entry as the base for the
Suite 116
Norcross Ga, 30092
-Original Message-
From: Clay Leeds [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 9:36 AM
To: [EMAIL PROTECTED]
Subject: Re: external-graphic src problem
On Jul 23, 2004, at 6:20 AM, Danny wrote:
Clay,
Thanks for the response.
The xml is being
This possibly becomes an XSLT problem. Use a global variable passed
into the XSLT transform to provide the basedir for the images.
-Original Message-
From: Danny [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 9:56 AM
To: [EMAIL PROTECTED]
Subject: RE: external-graphic src problem
Group
6075 The Corners Parkway
Suite 116
Norcross Ga, 30092
-Original Message-
From: Zaleski, Matthew (M.E.) [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 10:01 AM
To: [EMAIL PROTECTED]
Subject: RE: external-graphic src problem
This possibly becomes an XSLT problem. Use a global
-
From: Zaleski, Matthew (M.E.) [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 10:01 AM
To: [EMAIL PROTECTED]
Subject: RE: external-graphic src problem
This possibly becomes an XSLT problem. Use a global variable passed
into the XSLT transform to provide the basedir for the images
To: [EMAIL PROTECTED]
Subject: Re: external-graphic src problem
I should've thought of this sooner...
!-- At the top of my XSL-FO file or in an xsl:include --
!--varImagesDirectory | used to set PATH to images/ directory--
xsl:variable name=varImagesDirectory/path/to/images/xsl:variable
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
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
, I really don't understand your problem domain.
-Original Message-
From: Danny [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 2:38 PM
To: [EMAIL PROTECTED]
Subject: RE: external-graphic src problem
So in my case, because the xml is streamed from the db and therefore
doesn't reside
In addition, since it follows the URI concept, you can set up the
variable's value to be a URL:
xsl:variable
name=varImagesDirectoryhttp://nonauthenticated.server.com/path/to/
images/xsl:variable
fo:external-graphic src=url('{$varImagesDirectory}/pic.jpg')
/fo:external-graphic
...would
Danny wrote:
Using baseDir I could reference the relative path to the image in the xsl,
but I would have to specify an absolute path in the baseDir, so really that
is the same as just hardcoding the path in the xsl.
My problem is that I do not want to require the application be installed in
a
Problem - Cannot render - external-graphic src attribute
Using Fop 0.20.5 - Standalone Swing application
** Application is a standalone Java Swing application.
Cannot seem to get a jpg to render in my pdf unless I hardcode the complete
path to the image in the external-graphic src
On Jul 22, 2004, at 1:20 PM, Danny wrote:
** Application is a standalone Java Swing application. Cannot seem to
get a jpg to render in my pdf unless I hardcode the complete path to
the image in the external-graphic src attribute. The data in the pdf
renders fine, just no image. The image file
14 matches
Mail list logo