Title: RE: external-graphic problem
I had the same problem before, I passed in image root as a parameter to XSLT page, and add that to the path of images. The limitation is: you have to assume all images are using same root path.
Tiffany
-Original Message-
From: vivek gupta
Mihael Knezevic wrote:
thanx for the response. correct me if i'm wrong, but i thought the base
dir must only be set if i use this in a servlet?
baseDir *may* be set if you need it. Environment doesn't matter, that's just a
convenient way to resolve relative URI's.
--
Oleg Tkachenko
Multiconn
thanx again.
-Original Message-
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 05, 2003 11:25 AM
To: [EMAIL PROTECTED]
Subject: Re: external-graphic problem
Mihael Knezevic wrote:
thanx for the response. correct me if i'm wrong, but i thought the
base dir
Here is our working code:
xsl:if test=@isrc!=''
fo:external-graphic scaling=uniform height=auto width=auto
content-width=auto content-height=auto src=[EMAIL PROTECTED]/
/xsl:if
If I remember right, you also have to set the basedir (either in your
userconfig.xml or via Java):
thanx for the response. correct me if i'm wrong, but i thought the base
dir must only be set if i use this in a servlet?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 04, 2003 2:12 PM
To: [EMAIL PROTECTED]
Subject: Re: external-graphic
: external-graphic problem
Here is our working code:
xsl:if test=@isrc!=''
fo:external-graphic scaling=uniform height=auto width=auto
content-width=auto content-height=auto src=[EMAIL PROTECTED]/ /xsl:if
If I remember right, you also have to set the basedir (either in your
userconfig.xml