sorry wrong quote also...
this is the one that works lol
PHP Code:
foreach($menuxml as $k1 => $v1) {
foreach($menufile as $k2 => $v2) {
if ($menuxml[$k1]["SimpleXMLElement Object"][0] == $v2) {
unset($menuxml[$k1]["SimpleXMLElement Object"][0]);
}
}
}