Re: programmnig advise needed

2005-06-10 Thread Magnus Lycka
[EMAIL PROTECTED] wrote: > Hi, > > I am writing a Python program that needs to read XML files and contruct > a tree object from the XML file (using wxTree). > The XML however is not an hiearchical XML file. It contains > and tags. The tags link the elements > together. Are you sure that you ge

Re: programmnig advise needed

2005-06-08 Thread mitsura
Thanks for the feedback! It is a very good idea to use dictionaries. I will try to implemented it this way. Thanks, Kris Andrea Griffini schreef: > On 7 Jun 2005 12:14:45 -0700, [EMAIL PROTECTED] wrote: > > >I am writing a Python program that needs to read XML files and contruct > >a tree objec

Re: programmnig advise needed

2005-06-07 Thread Andrea Griffini
On 7 Jun 2005 12:14:45 -0700, [EMAIL PROTECTED] wrote: >I am writing a Python program that needs to read XML files and contruct >a tree object from the XML file (using wxTree). Supposing your XML file has a single top level node (so that it's a legal XML file) then the following code should be ab

programmnig advise needed

2005-06-07 Thread mitsura
Hi, I am writing a Python program that needs to read XML files and contruct a tree object from the XML file (using wxTree). The XML however is not an hiearchical XML file. It contains and tags. The tags link the elements together. Example: ... element 1 attributes ... element 2 attribute