I want to convert xml (output) into php array as an input. How to do that? Thank you!
Here's the xml:
<Form xmlns="url" label="Form" type="TextView" name="Form1">
<Field name="Category" label="FormType" value="CashPickup" type="TextView"/>
<Field type="Delimiter"/>
<Field name="ClientName" label="Name of Client" value="Neplatic Neplaticovic" type="TextView"/>
<Field name="BirthDate" label="Birthday" value="1980-07-04" type="TextView"/>
<Field name="DPD" label="DPD" value="95" type="TextView"/>
<Field type="Delimiter"/>
<Field name="CP_RESULT" label="Cash pick-up result" value="CP_RESULT_PAID_TO_VISITOR" type="Radio">
<Item code="CP_RESULT_PAID_TO_VISITOR" label="Client paid to field visitor"/>
<Item code="CP_RESULT_PAID_THRU_PMT_CHANNEL" label="Client paid through payment channel"/>
<Item code="CP_RESULT_CLIENT_NOT_AVAIL" label="Client not available"/>
<Item code="CP_RESULT_CLIENT_CAN_NOT_PAY" label="Client can not pay"/>
</Field>
No comments:
Post a Comment