I am using SimpleXMLElement()to parse the body of an email for XML data and am having difficulty parsing fields with 'parts' defined; such as:
$array->prospect->customer->contact->name yields the first name; but I can't resolve getting the last name portion...
Is this beyond the scope of SimpleXMLElement(), or can someone help resolve what I am missing?
TIA,
-Allen M.
Code:
<name part="first">First</name>
<name part="last">Last</name>
$array->prospect->customer->contact->name yields the first name; but I can't resolve getting the last name portion...
Is this beyond the scope of SimpleXMLElement(), or can someone help resolve what I am missing?
TIA,
-Allen M.