On 7/2/07, Ingo Haase <[EMAIL PROTECTED]> wrote:
>
>
>
> I would like to include a simple SVG graphic into a html-document.
> Here is the html code snippet:
>
> <object data="test.svg" type="image/svg+xml" width="280" height="280"
> > svg goes here  </object>
>
> When I load the .html directly into Firefox with hardcoded
> data="test.svg", all shows up correctly. When I run the same code
> through TG, CherryPy and Genshi with data="/static/images/test.svg",
> the graphic window (better say the 280x280 object box) will not show
> the svg graphic but the svg code from test.svg in plain text format.
>
> I also tried to expose format="xhtml", but that makes no difference. I
> dont know if that is a cherrypy problem or genshi problem.
did you try xml? here is the explanation
http://trac.turbogears.org/ticket/379 and it's in the docs wiki too.
>
> Is there an example with TG/Genshi and inline svg?
>
I'm not entirely sure how/if you can actually do this, why don't you
forward the request to the genshi list.
> Thanks
>
> I.Haase
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to