I'm trying to render template into XML output. If the str representation of the variable contains special character of XML, it would cause trouble. The same thing would happen if trying to render into CSV or other format.
It would be nice if the render function of Template can take additional parameter to selectively encode the string according the XML entity reference or other spec. It means a patch of "encode_output" function of "VariableNode" may needed. Is this solution reasonable or I missed something? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---