design question

Istvan Albert ialbert at
Thu Sep 2 09:41:09 EDT 2004

Ajay wrote:

> so thats what i need to do. i read the policy and preferences as DOM
> hierarchies and then starting from rule1 in the preference, 

Do you really need a DOM representation for this? It seems to me that
you are sequentially reading the XML file to extract the
rules from it.

Try element-tree for a simple and fast, pure-python XML representation.


More information about the Python-list mailing list