Next in thread → Next in month →

Re: [docbook-apps] simg:getWidth and relative pathnames

From
"Cob Rtayton"
Date
2004-08-06T16:48:15+00:00
ID
004401c47bd5$2a454610$6501a8c0@toshiro
Thread
Re: [docbook-apps] simg:getWidth and relative pathnames
I'm not able to duplicate this problem.  Relative paths and absolute paths
both return the correct image width for the PNG files I tested. What version
of Saxon and the saxon extension file are you using?  What graphics formats
are you using it on?  Can you send a short xml file that demos the problem?

Bob Stayton
Sagehill Enterprises
DocBook Consulting


----- Original Message ----- 
From: "Sebastian Fey" <>
To: "Docbook-Apps (E-Mail)" <>
Sent: Friday, August 06, 2004 1:50 AM
Subject: AW: [docbook-apps] simg:getWidth and relative pathnames

hi,

i tested it with a xml containing filerefs to images using abs. paths and
rel. paths.
with relative paths simg:getWidth returns the second given parameter, with
absoilute paths it works fine.

mfg,
sebastian

-----Ursprüngliche Nachricht-----
Von: Bob Stayton [mailto:]
Gesendet: Donnerstag, 5. August 2004 20:51
An: Sebastian Fey; Docbook-Apps (E-Mail)
Betreff: Re: [docbook-apps] simg:getWidth and relative pathnames

In my testing simg:getWidth works with relative pathnames too.  What leads
you to believe it only works with absolute pathnames?

Bob Stayton
Sagehill Enterprises
DocBook Consulting


----- Original Message ----- 
From: "Sebastian Fey" <>
To: "Docbook-Apps (E-Mail)" <>
Sent: Wednesday, August 04, 2004 6:51 AM
Subject: [docbook-apps] simg:getWidth and relative pathnames

Hi,

i want to use simg:getWidth to find out the intrinsic width of images (used
as terms in a variablelist). but it seems like simg:getWidth only works with
absolute pathnames.
i use relative pathnames with my images (they are stored in a subfolder of
the folder containing the .xml)

is there a way to find out the folder the .xml is contained in?

thx in advance,
Sebastian Fey
Next in thread → Next in month →