hi I just did a test that (among other things) displayed an .svg file with no problem and no worries. I didn't even know about what you just mentioned. Could you show the code line where or the method where you try to do that in your controller?
Maybe we are talking about different things... On Jul 3, 8:31 pm, Ingo Haase <[EMAIL PROTECTED]> wrote: > I got it, finally! > > So if anyone facing the same problm: > > 1. expose the genshi-html template with > @expose(template="my.templates.myhtmlfile", format="xml", > content_type="text/xml") > 2. Rename your svg graphic file "test.svg" to "test.xml" (!!!) .svg > files wont work! > 3. Include the svg graphic into genshi template with <object > id="any_id" data="/static/images/test.xml" type="image/svg+xml"></ > object> > > And thats it. A nice svg graphic accessible via Javascript which can > change dynamically on-the-fly while you type in your data (needs a few > more lines of code). > > Greetings > > I.H. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

