No time to test Shannon but I think you need:

$caseID = $mydata->batch->Report['caseID'];

Always remember - var_dump() is your friend!


Jon Paris

www.Partner400.com
www.SystemiDeveloper.com



On Dec 9, 2009, at 10:55 AM, web400-request@xxxxxxxxxxxx wrote:

However, at the start of certain blocks of data, I have lines like this:

<Report caseID="122" number="000900006S">

The element is <Report> but as you can see, it has child elements of
caseID and number.

I cannot figure out how to get the values of those child elements.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.