Russ, thanks for your suggestion. Because all I want is a pure XML output, so for this case, I want all variable encoded at one time, for non-variable string I can deal with it manually.
After some experiment on attaching encoding function TextNode and VarialbeNode (actually it's the first time I view the code and I don't know if I put my hand in the right place), I found it wouldn't have a easy patch because it's not easy to separate the raw string and variable. Fredrik, thanks for your idea and snippet. If I have to put xml generating code in views I would follow you. It would be easier to use JSON output than XML, if presentation data have to be generated in views rather in template. I really hope django could render XML and CSV with template as it claims though. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---