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] | [List Home]


Subject: RE: [docbook-apps] DocBook Website and SVG images for the banners


Jochen+oasis-open@Hayek.name said:

> Having recognized the power of SVG only recently
> 
> (maybe HTML5 is going to embrace all its relevant dedicated powers rather soonish
> anyway …),
> 
> I now wanted to make use of SVG for the banner "images".
> 
> Well, first I simply replaced the PNG with an SVG here:
> 
>   <config param="homebanner-tabular" 	value="graphics/homebanner.png"             
>      altval="Home Banner"/>
> 
> But during all my difficult attempts
> of making use of SVG generated by Adobe Illustrator
> I couldn't quite clearly see, where all my trouble originated.
> 
> After I had sorted the Adobe Illustrator SVG trouble itself,
> I had to learn from here
> 
>   http://www.sagehill.net/docbookxsl/SVGimages.html
> 
> that my HTML would have to make use of the EMBED tag instead of the IMG tag.
> Well "my" browsers being Firefox, Safari, and Chrome, that is not a problem, they
> all accept EMBED.
> 
> But how do I get my layout.xml to create the EMBED tag?
> 
> Looking through the "xsl/" subdirectory of my Website installation,
> I am getting the impression, SVG is not getting mentioned there.
> 
> Any suggestions?

There doesn't seem to be any way to mark this up in <config/>, so I guess the only option is to extract the suffix -svg or else- from the path and generate either an <img/> or <embed/> based on that.

Do you have a customization layer for website stylesheets?

SinDoc




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