This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Imagedata/entityref and full pathname problem
- From: Kraa de Simon <Simon dot de dot Kraa at services dot fujitsu dot com>
- To: "'docbook-apps at lists dot oasis-open dot org'" <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 04 Apr 2002 11:34:16 +0200
- Subject: DOCBOOK-APPS: Imagedata/entityref and full pathname problem
Hello,
Using docbkx412, docbook-xsl-1.50.0, saxon6.5.1, j2re1.4.0.
When I use entityref in imagedata the *full* paths appear in the resulting
html code.
I would expect the *relative* path names.
Any ideas how to fix this? I would prefer to use entityref.
Using entityref
------------------------------
<!ENTITY png.00250.16x16 SYSTEM "../images/function/16x16/00250.png" NDATA
PNG>
<inlinemediaobject><imageobject><imagedata
entityref="png.00250.16x16"/></imageobject></inlinemediaobject>
results in:
<img
src="file:/C:/PROGRA~1/nusphere/apache/htdocs/images/function/16x16/00250.pn
g">
Using fileref
------------------------------
<inlinemediaobject><imageobject><imagedata
fileref="../images/function/32x32/00250.png"/>
results in:
<img src="../images/function/16x16/00250.png">
Simon de Kraa
Systems Architect
e-Applications / Logistic Systems
FUJITSU SERVICES
Fujitsu Services B.V., Het Kwadrant 1
Postbus 4000, 3600 KA Maarssen, The Netherlands
Tel: +31 346 598865
Mob: +31 651 204719
Fax: +31 346 562703
Email: mailto:Simon.de.Kraa@services.fujitsu.com
Web: http://nl.services.fujitsu.com
Fujitsu Services B.V., Registered in the Netherlands no 30078286