Yes, I did use all these parameters.
The issues is they all render as follows:
<img src="directory/warning.svg" alt="[Warning]">

Because it generates <img> tag, Firefox doesn't display the image.

Xuan.

--- On Thu, 3/25/10, Compagnon Christopher 
<[email protected]> wrote:

From: Compagnon Christopher <[email protected]>
Subject: RE: [docbook-apps] SVG admonitions for browsers.
To: "Xuan Ngo" <[email protected]>, "Docbook Appz" 
<[email protected]>
Received: Thursday, March 25, 2010, 11:48 AM




 
 






In your param.xsl file,
copy and modify the following lines : 

   

<xsl:param
name="admon.graphics.extension">.png</xsl:param> 

<xsl:param name="admon.graphics" select="0"/> 

<xsl:param
name="admon.graphics.path">images/</xsl:param> 

<xsl:param name="admon.textlabel"
select="1"/> 

   

to  

<xsl:param name="admon.graphics.extension">.svg</xsl:param> 

<xsl:param name="admon.graphics" select="1"/> 

<xsl:param
name="admon.graphics.path">images/</xsl:param> (default images/ or your_path/ ) 

<xsl:param name="admon.textlabel"
select="1"/> 

   

   

   

   

Cordialement, 

   

____________________________________________ 

Christopher COMPAGNON 

AXA GROUP SOLUTIONS - Procurement, BI Supply 

Département Solutions Business Intelligence 

Domaine BI France - Reporting Opérationnel 

(  01 44 45 04 16 (55 04 16)  

E-mail: [email protected] 

____________________________________________ 

Pensez à l'environnement avant d'imprimer ce message 

  

   

-----Message d'origine-----

De : Xuan Ngo [mailto:[email protected]] 

Envoyé : mercredi 24 mars 2010 19:39

À : Docbook Appz; Compagnon Christopher

Objet : RE: [docbook-apps] SVG admonitions for browsers.

   

Sorry, maybe I wasn't clear. 

When I was referring to admonitions, I was referring to
<warning>, <note> and <tip> tags. 

   

I know that by using <mediaobject>, it works correctly with
Firefox. I want  <warning>, <note> and <tip> tags to appear
in Firefox as SVG. 

   

How would I do that? 

   

Xuan. 

   

   

--- On Wed, 3/24/10, Compagnon Christopher
<[email protected]> wrote: 

   

> From: Compagnon Christopher
<[email protected]> 

> Subject: RE: [docbook-apps] SVG admonitions for browsers. 

> To: "Xuan Ngo" <[email protected]>,
"Docbook Appz" <[email protected]> 

> Received: Wednesday, March 24, 2010, 11:54 AM 

> Hi, 

>  

> To generate image object with docbook, test with : 

>  

> <mediaobject> 

> <imageobject> 

> <imagedata fileref="img/my_image.svg"
format="SVG"/> 

> </imageobject> 

> </mediaobject> 

>  

> Does it work ? 

>  

> Cordialement, 

>  

> ____________________________________________ 

> Christopher COMPAGNON 

> AXA GROUP SOLUTIONS - Procurement, BI Supply 

> Département Solutions Business Intelligence 

> Domaine BI France - Reporting Opérationnel 

> (  01 44 45 04 16 (55 04 16)  

> E-mail: [email protected] 

> ____________________________________________ 

> Pensez à l'environnement avant d'imprimer ce message 

>   

>  

> -----Message d'origine----- 

> De : Xuan Ngo [mailto:[email protected]] 

>  

> Envoyé : mercredi 24 mars 2010 16:44 

> À : Docbook Appz 

> Objet : [docbook-apps] SVG admonitions for browsers. 

>  

> I'm generating HTML out of docbook and SVG admonitions are 

> generated as <img>. This causes the Firefox to not 

> render the svg. 

>  

> Is there a way to generated svg admonitions like it did for 

> <mediaobject>? 

>  

> Xuan. 

>  

>  

>       

> __________________________________________________________________ 

> Looking for the perfect gift? Give the gift of Flickr!  

>  

> http://www.flickr.com/gift/ 

>  

>  

>
--------------------------------------------------------------------- 

> To unsubscribe, e-mail:
[email protected] 

> For additional commands, e-mail:
[email protected] 

>  

>  

   

   

      __________________________________________________________________ 

Make your browsing faster, safer, and easier with the new Internet
Explorer® 8. Optimized for Yahoo! Get it Now for Free! at
http://downloads.yahoo.com/ca/internetexplorer/ 

   



 




      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

Reply via email to