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: 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






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


Powered by eList eXpress LLC