This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
No images in HTML Help!?
- 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: Sun, 05 May 2002 18:47:14 +0200
- Subject: DOCBOOK-APPS: No images in HTML Help!?
Hello,
The images do not show in the HTML Help .chm file...
Using DocBook XML 4.12 and DocBook XSL 1.50.0.
When processing the following XML fragment:
<inlinemediaobject>
<imageobject>
<imagedata
fileref="../../images/screen/71000.b.0.png"/>
</imageobject>
</inlinemediaobject>
using htmlhelp/htmlhelp.xsl I get:
<span class="inlinemediaobject">
<img src="../../images/screen/71000.b.0.png">
</span>
And the following entry in htmlhelp.hhp: (htmlhelp.enumerate.images == 1)
[FILES]
../../images/screen/71000.b.0.png
What I would like to get is:
<span class="inlinemediaobject">
<img src="71000.b.0.png">
</span>
and:
[FILES]
../../images/screen/71000.b.0.png
In <xsl:template name="mediaobject.filename"> I tried changing:
<xsl:value-of select="$data/@fileref"/>
To:
<xsl:call-template name="filename-basename">
<xsl:with-param name="filename">
<xsl:value-of select="$data/@fileref"/>
</xsl:with-param>
</xsl:call-template>
This does produce:
<span class="inlinemediaobject">
<img src="71000.b.0.png">
</span>
but also gives me:
[FILES]
71000.b.0.png
That won't work either!
Please help.
Simon.