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
-~----------~----~----~----~------~----~------~--~---

Reply via email to