← Prev in month ← Prev in thread

Role attribute in mediaobject/imageobject not working for SVG

From
Darya Said-Akbari <>
Date
2006-09-25T14:54:31+00:00
ID
Thread
Role attribute in mediaobject/imageobject not working for SVG
Hi,

I try to use the 'role=fo' or 'role=fo-fop' in my
<imageobject>, unfortunately having not much luck.

My customization layer parameters are:

<xsl:param
name="use.role.for.mediaobject">1</xsl:param> (for
role=fo)

plus

<xsl:param
name="preferred.mediaobject.role">fo-fop</xsl:param>
(for role=fo-fop)

My DocBook XML contains something like:

<informalfigure>
  <mediaobject>
    <imageobject role="html">
      <imagedata fileref="./Pictures/gif/test.gif"
format="GIF"/>
    </imageobject>
    <imageobject role="fo">
      <imagedata fileref="./Pictures/svg/test.svg"
format="SVG"/>
    </imageobject>
  </mediaobject>
</informalfigure>

I receive an error from FOP when I use it this way and
no error when I leave out the role=fo or role=fo-fop
part.

Am I missing something?

Regards,
Darya 


		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
← Prev in month ← Prev in thread