Python object <-> XML
Laurent Pointal
laurent.pointal at wanadoo.fr
Mon Sep 3 17:04:32 EDT 2007
Samuel wrote:
> Hi,
>
> Say you have the following XML:
>
> <item ref="1">
> <name>item 1</name>
> </item>
> <item ref="2">
> <name>item 2</name>
> </item>
> <group>
> <item ref="1" />
> <item ref="2" />
> <name>my group</name>
> </group>
>
> Is there an easy way (i.e. without writing a sax/dom parser) to load
> this into a (number of) Python object(s), manipulate the instance, and
> save the result back to XML?
>
> -Samuel
I dont know if this suit your needs:
http://uche.ogbuji.net/tech/4suite/amara/
Take a look at the Amara Bindery:
http://uche.ogbuji.net/tech/4suite/etc/amara-manual.html#bindery
A+
Laurent.
More information about the Python-list
mailing list