From XML to array

paolo mazza mazzapaoloitaly at gmail.com
Wed Feb 24 11:27:42 EST 2010


Yes, you are right. Here it is the right XML file:

<?xml version="1.0"?>
<records>
<record IDnum="1">
<firstName>Steve</firstName>
<lastName>Jobs</lastName>
<roomNums>
<roomNum1>001</roomNum1>
<roomNum2>054</roomNum2>
<roomNum3>545</roomNum1>
</roomNums>
<phoneExt>345</phoneExt>
<parkingSlot>100</parkingSlot>
</record>
<record IDnum="2">
<firstName>Bill</firstName>
<lastName>Gates</lastName>
<roomNums>
<roomNum1>454</roomNum1>
<roomNum2>656</roomNum2>
</roomNums>
<phoneExt>666</phoneExt>
<parkingSlot>987</parkingSlot>
</record>
<record IDnum="3">
<firstName>Linus</firstName>
<lastName>Torvald</lastName>
<roomNums>
<roomNum1>001</roomNum1>
<roomNum2>054</roomNum2>
<roomNum3>545</roomNum3>
<roomNum4>545</roomNum4>
</roomNums>
<phoneExt>479</phoneExt>
<parkingSlot>123</parkingSlot>
</record>
<record IDnum="4">
<firstName>Kevin</firstName>
<lastName>Miller</lastName>
<roomNum>100</roomNum>
<phoneExt>421</phoneExt>
<parkingSlot>987</parkingSlot>
</record>
</records>


On Wed, Feb 24, 2010 at 5:21 PM, Jim Ault <jimaultwins at yahoo.com> wrote:

> I am assuming your data set contains an error and will ignore this tag.
> There is no opening tag <employee>
>
> On Feb 24, 2010, at 5:44 AM, mazza paolo wrote:
>
>  </employee>
>>
>
> Jim Ault
> Las Vegas
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list