This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

imagedata and entityref


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]