Re: Need help in serialization of objects.

2010-02-24 Thread chiranjeevi muttoju
Thanks for your reply Oliver, Your reply really helpful to me. On Wed, Feb 24, 2010 at 1:14 PM, Oliver Beattie wrote: > I'm not entirely sure why you'd want to do this, but I'm sure you have > your reasons. Probably the best way would be to write your own > serializer, which subclasses Django's

Re: Need help in serialization of objects.

2010-02-23 Thread Oliver Beattie
I'm not entirely sure why you'd want to do this, but I'm sure you have your reasons. Probably the best way would be to write your own serializer, which subclasses Django's XML serializer (in django.core.serializers.xml_serializer), and overrides the start_serialization and end_serialization methods

Need help in serialization of objects.

2010-02-23 Thread chiranjeevi muttoju
Hi all, I want to convert the model object to xml data. i used the django serialization for that. then i'm getting the xml data as shown in bellow. But my aim to remove the "" tag or replacing that tag by other name. is there is any way to achieve that one. If anybody know please help me.