I'm looking all over for an answer to this but I'm a noob on this.
If I have an XML that has more than 1 level nested, do I define a %HANDLER
procedure for each element?
Jon's example processes this XML with one %Handler
<Customers>
<Company>Phones R Us</Company>
<Company>Suchadeal Bank</Company>
</Customers>
Do I need a separate handler for each nest in this example XML? What Data
structure would I pass?
<customers>
<customer>
<CustID>1001</CustID>
<CustName>John Smith</CustName>
<CustStatus>Active</CustStatus>
</customer>
<customer>
<CustID>1002</CustID>
<CustName>Jane Doe</CustName>
<CustStatus>Inactive</CustStatus>
</customer>
</customers>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.