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]
Other format: [Raw text]

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.


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