I have this xml structure,\[code\]<root> <child1> </child1> <child2> </child2> <child3 /> <extendedchild:name> </extendedchild:name></root>\[/code\]How can I check with minidom, that root is \[code\]root\[/code\], and that children are always the followin elements? \[code\]child1child2child3extendedchild\[/code\]I want also to print the elements that are out of root or not in the above "children list"(outofroot, notachild):...\[code\] <notachild /></root><outofroot />\[/code\]