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]

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





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