Here is a class method I use to convert a SimpleXMLIterator for a structure of arbitrary depth to an array:

[code]
itToArray($a);
}
}

return $array;
}
}
?>
[/code]

Feel free to delete my obvious post-before-I-read comment without code tags ;)