This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
imagedata and entityref
- To: docbook-apps at lists dot oasis-open dot org
- Subject: DOCBOOK-APPS: imagedata and entityref
- From: Gerrit Niestijl <g dot niestijl at rra dot nl>
- Date: Thu, 13 Sep 2001 12:46:37 +0200
- List-Id: <docbook-apps.lists.oasis-open.org>
Hi,
I was just trying to an entityref instead of a fileref for including an
image. But this results in the generation of the absolute path to the images
instead of the relative path, when i generate html with openjade (1.3) and the
dsssl stylesheets (1.72).
I use this XML input:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"\\intranet\public\dtd\docbookx412\docbookx.dtd"
[
<!ENTITY rapport.excel "\\RRA1\vol1\home\niestijl\rapport\periodiek\rapporten.xls">
<!ENTITY dlg_vernieuw SYSTEM "images/dlg_distrib.png" NDATA PNG>
]>
<article lang="nl">
....
<screenshot>
<mediaobject>
<imageobject>
<imagedata entityref="dlg_distrib" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
....
Here is the HTML output:
....
<DIV CLASS="mediaobject">
<P><IMG
SRC="H:^92;project^92;documentatie^92;xmldir^92;rapport^92;handleiding^92;images/dlg_vernieuw.png"></IMG>
</P>
</DIV>
....
This is what i want:
<DIV CLASS="mediaobject">
<P><IMG
SRC=images/dlg_vernieuw.png"></IMG>
</P>
</DIV>
Can i get this output and still use entityref's or should i stick to fileref's?
--
Thanks,
Gerrit Niestijl
Revalidatiecentrum Rijndam Adriaanstichting
Westersingel 300, 3015 LJ Rotterdam
Postbus 23181, 3001 KD Rotterdam
Tel (010) 2412439
Fax (010) 2412400
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>