Get attribute this way

King animator333 at gmail.com
Tue Nov 17 01:53:59 EST 2009


Writing/Reading data to xml is not a problem. The problem is when I
have to write to attributes in xml, where a connections has been
established.
XML:
<Connection sourceattribute="node1.gradient.colors[0][1]"
destattribute="node2.gradient.colors[1][2]"/>

While reading back I have to convert both source and destination
strings into object so that I can call connections function using
source and target attributes.

Prashant
Python 2.6.2
Win XP 32



More information about the Python-list mailing list