I usually do the following:
nextPreset = element.firstChild
while nextPreset != None:
#doThings
nextPreset = nextPreset.nextSibling
I was wondering if there were something like:
for child in element.children:
#doThings
I saw a method _get_childNodes, but it is private…
If you do that several times in one project, you could use
and then do