Hello,
How can I get to the values in my XML document elements so I can use them in comparisons, whatever, etc? I can print the values using printf() but cannot do anything else with them.
$jobs = simplexml_load_string($xml);
foreach ($jobs->jobProfile as $p) {
//This works - prints Status: Completed
printf("Status: %s\n", $p->jobStatus);
//This just returns the length of the string (9)
$jobType = $p->jobType;
}