This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] simg:getWidth and relative pathnames
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Sebastian Fey" <fey at parsytec dot de>, "Docbook-Apps \(E-Mail\)" <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 6 Aug 2004 09:48:12 -0700
- Subject: Re: [docbook-apps] simg:getWidth and relative pathnames
- References: <53DD404D1B0B67479AD684BFFA54858B23EF50@srvac03.parsytec.local>
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
bobs@sagehill.net
----- Original Message -----
From: "Sebastian Fey" <fey@parsytec.de>
To: "Docbook-Apps (E-Mail)" <docbook-apps@lists.oasis-open.org>
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:bobs@sagehill.net]
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
bobs@sagehill.net
----- Original Message -----
From: "Sebastian Fey" <fey@parsytec.de>
To: "Docbook-Apps (E-Mail)" <docbook-apps@lists.oasis-open.org>
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