OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Using <embed> for SVG


Morning,

First post, be gentle with me. In a nutshell I am trying to include 
external SVG files in my compiled HTML help, although I would be happy 
enough if it was working in plain HTML.

My input file contains:

<mediaobject>
     <imageobject>
       <imagedata fileref="/some.svg" type="SVG"/>
     </imageobject>
</mediaobject>

my stylesheet has

	<xsl:param name="use.svg" select="1"/>
	<xsl:param name="use.embed.for.svg" select="1"/>

although I'm not sure of the purpose of the former and I have tried 
without it. However, my browser is showing broken images, because the 
html after conversion has <img src...> tags and not something like:

		<embed src="some.svg"
			name="SVG1"
			type="image/svg-xml"
			width="800"
			height="600"
			pluginspage="http://www.adobe.com/svg/viewer/install/";
		>

which is what I am after.

Also I couldn't find the param "use.embed.for.svg" in the params.xsl for 
htmlhelp - does that mean I can't use it?

Thanks a lot in advance...
jamie




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