RE: [docbook-apps] Role attribute in mediaobject/imageobject not working for SVG

From
Darya Said-Akbari <>
Date
2006-09-25T16:01:25+00:00
ID
Thread
RE: [docbook-apps] Role attribute in mediaobject/imageobject not working for SVG
It's still not working. However FOP throws no error
anymore when I use parameters as:

<xsl:param name="use.role.for.mediaobject"
select="1"/>
<xsl:param name="preferred.mediaobject.role"
select="fo-fop"/>

The non-SVG version is used. 

Any hints?

Regards,
Darya


--- Darya Said-Akbari <>
schrieb:

> Using command line argument of profile.role="fo" or
> <xsl:param name="profile.role">fo</xsl:param> in
> customization layer also does not help :(
> 
> Regards,
> Darya
> 
> 
> --- Darya Said-Akbari <>
> schrieb:
> 
> > 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
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > 
> > For additional commands, e-mail:
> > 
> > 
> > 
> 
> 
> 
> 		
>
___________________________________________________________
> 
> Telefonate ohne weitere Kosten vom PC zum PC:
> http://messenger.yahoo.de
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
> 
> 



		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de