dawguk:It's worth noting that the foreach() statement will move from line 392 with so much as a return key (as it did today...).
What a silly oversight, when
if (eregi('Invalid argument supplied for foreach() in /usr/cvs/projects/13xx/1371/Classes/XML/XML_inc.php on line 392',$v[0]) || eregi('Invalid argument supplied for foreach() in /usr/cvs/projects/13xx/1371/Classes/XML/XML_inc.php on line 393',$v[0]) || eregi('Invalid argument supplied for foreach() in /usr/cvs/projects/13xx/1371/Classes/XML/XML_inc.php on line 394',$v[0]) || eregi('Invalid argument supplied for foreach() in /usr/cvs/projects/13xx/1371/Classes/XML/XML_inc.php on line 395',$v[0]))
would have enhanced future maintainability by at least 4%.