On Aug 2, 7:58 pm, iain duncan <[EMAIL PROTECTED]> wrote:
> I'm working on a web service backend, and before doing something
> laborious by hand thought I'd check whether there is a smart and quick
> way in tg ( or python in general ) to turn a model object into an XML
> representation of that object.
>
> At the moment I'm using kid to make the xml doc and elementtree to parse
> the response but am certainly curious to hear what others have found the
> best route to be.
>
> Thanks
> Iain
What about something like gnosis' XML_Pickler? I used it for a SO
model object. However it doesn't work directly on the SO model
object. I pulled the data out of the SO object into a plain old
python object and then pickle that.
Brian
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---