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 images when generating HTML output...


Hi Guys,

I need to generate PDF, PS, and HTML output
from my DocBook documents.

To include images into my documents, I normally
write something like this:

...
<mediaobject>
  <imageobject>
    <imagedata fileref="myImageFile" format="PNG"/>
  </imageobject>
  <textobject>
    <phrase>My text</phrase>
  </textobject>
</mediaobject>
...

I omit the file extension (.png) in the fileref
attribute in order to let the processor to generate
PDF as well PS output correctly (this works fine).

Well, as soon as I try to generate HTML output,
I get some troubles. In fact, the generated
HTML output for the statements above is

...
<div class="mediaobject">
  <img src="myImageFile" alt="My text">
</div>
...

As you can see, the file extension (.png) is
missing...

I'm using XSL stylesheets V 1.58.1.

Have you any idea?

-- 
Giuseppe Greco
Strada Regina 40
6928 Manno (TI)
Switzerland

Mobile: +41 (0) 76 390 60 32
Email : giuseppe.greco@bluewin.ch



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


Powered by eList eXpress LLC