In my database I have some objects that need to be represented in xml file. What is the simplest/easiest way to convert the item objects into a xml representation of the items? What python library should I use?
<items>
<item>
<picture><![CDATA[foo.jpg]]></picture>
<title><![CDATA[Foo]]></title>
<link><![CDATA[http://www.foo.com]]></link>
<color><![CDATA[red]]></color>
</item>
<item>
<picture><![CDATA[baz.jpg]]></picture>
<title><![CDATA[Baz]]></title>
<link><![CDATA[http://www.baz.com]]></link>
<color><![CDATA[blue]]></color>
</item>
</items>