This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Problem with default graphic extension
- From: Lisa Carey <lisa dot carey at havok dot com>
- To: Docbook-apps <docbook-apps at lists dot oasis-open dot org>
- Date: Fri, 10 Jan 2003 14:16:31 +0000
- Subject: DOCBOOK-APPS: Problem with default graphic extension
Hi folks,
I want to use different graphic formats for print and html output, and was hoping that I could deal with this in the relevant stylesheets using the default.graphic.extension parameter, as in the following example:
<xsl:param name="graphic.default.extension" select="gif"/>
In the document itself, the imagedata's fileref has no extension specified, as below, and I thought that the stylesheet would add the default.
<mediaobject>
<imageobject>
<imagedata fileref="images/testing"/>
</imageobject>
</mediaobject>
However, I've looked at the output HTML source and it doesn't seem to be adding the extension at all.
<div class="mediaobject"><img src="images/testing"></div>
Is there something I'm doing wrong? I'm using Xalan and the 1.58.1 stylesheets.
cheers,
Lisa