[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
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
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
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