Suggestions for Python XML library which can search and insert

Steven D'Aprano steve at REMOVEMEcyber.com.au
Tue Jul 26 04:05:11 EDT 2005


lainedacier at gmail.com wrote:

> Simple? Yes? ...but the code I've seen so far which does this uses
> 'nested for loops' for trees which are relatively shallow compared to
> mine. So I'm wondering if you could give me some suggestions as to
> which XML library could do this without resorting to nested for loops,
> and/or better yet, what's the trend in this type of operation?

Why do you care if they are nested for loops?

What is the problem you are experiencing that is caused 
by for loops?

Does the software you've seen not work with your XML 
trees? What error do you get when you try it?

Or are you just opposed to for loops on philosophical 
grounds?


-- 
Steven.




More information about the Python-list mailing list