OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK-APPS: 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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC