Spoke too soon. I was doing a view source in Firefox. If I open the HTML file on disk it's referencing a PNG.

Nevermind....

On 12/13/2010 10:16 PM, Steve Johnson wrote:
In the Stayton book in the section on SVG in HTML, there is an example
of using an SVG graphic for PDF and PNG for HTML. I tried it and it
didn't work.

This is the XML I used:

<mediaobject>
<imageobject role="fo">
<imagedata format="SVG" scale="75"
fileref="Graphics/network-topology_one-subnet.svg" align="center"
scalefit="1"/></imageobject>
<imageobject role="html">
<imagedata format="PNG" scale="75"
fileref="Graphics/network-topology_one-subnet.png" align="center"
scalefit="1"/></imageobject>
</mediaobject>


The HTML is:

<div class="mediaobject" align="center"><img
src="Graphics/network-topology_one-subnet.svg" width="405" align="middle">

Version info for XSLTproc:

Using libxml 20706, libxslt 10126 and libexslt 815
xsltproc was compiled against libxml 20706, libxslt 10126 and libexslt 815
libxslt 10126 was compiled against libxml 20706
libexslt 815 was compiled against libxml 20706

Solution?

--

------------

Steve Johnson, Senior Content Developer
Caringo
ste...@caringo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

Reply via email to