Russell Keith-Magee wrote:
> On 11/18/06, Facundo Casco <[EMAIL PROTECTED]> wrote:
>> Hi, I'd like to generate svg image files from Django. I think, since svg
>> is xml, it should be possible to write a template that generates them.
>> Has anyone have any experience doing this? Any advice would be welcome.
>> Thanks.
> 
> No experience in doing this, but yes, it is completely possible. Write
> your templates to produce the appropriate SVG document. Then modify
> your view to use that template and use the correct mime type. Result,
> one SVG generating view

(also no experience in doing this :),

the other approach woould be to do the XML-manipulation using an xml 
library, like ElementTree, and simply return the serialized xml file 
using django.

but as i said, no experience in it :)

gabor

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

Reply via email to