in reply to Regarding XML::DOM
XML is case sensitive. It would make more sense to adjust whatever is producing the broken XML.
You could visit the tree and change the tagname of every node to lowercase. Then you'd use
my @envNode = $root->getElementsByTagName(lc('EnvironmentSection'));
|
|---|