Hi,
Run your XML files via https://www.capesoft.com/xfilescode
It shows the following Clarion code:
workshoporderwarrantycaseto Group,Name('workshopOrderWarrantyCaseTO')
dealernumber Long,Name('dealerNumber')
remoteuser STRING(255),Name('remoteUser')
warrantytype STRING(255),Name('warrantyType')
invoicetype STRING(255),Name('invoiceType')
appealdone Byte,Name('appealDone | boolean')
dissdone Byte,Name('dissDone | boolean')
urgent Byte,Name('urgent | boolean')
orderto Group,Name('orderTO')
accountno Long,Name('accountNo')
customerappealdate STRING(255),Name('customerAppealDate')
orderdate STRING(255),Name('orderDate')
department STRING(255),Name('department')
ordercontent STRING(255),Name('orderContent')
orderno Long,Name('orderNo')
ordertype Long,Name('orderType')
serviceadvisorname STRING(255),Name('serviceAdvisorName')
serviceadvisorref Long,Name('serviceAdvisorRef')
vehicledeliverydate STRING(255),Name('vehicleDeliveryDate')
vehicleguaranteeextcode Long,Name('vehicleGuaranteeExtCode')
vehicleguaranteeexttext Long,Name('vehicleGuaranteeExtText')
vehicletype STRING(255),Name('vehicleType')
vehiclemodeldescription STRING(255),Name('vehicleModelDescription')
vehiclevin STRING(255),Name('vehicleVin')
vehiclelicensetag STRING(255),Name('vehicleLicenseTag')
End
orderitemtos Group,Name('orderItemTOs')
id STRING(255),Name('id | attribute')
sequencenumber STRING(255),Name('sequenceNumber | attribute')
groupnumber STRING(255),Name('groupNumber | attribute')
description STRING(255),Name('description')
packetto Group,Name('packetTO')
id STRING(255),Name('id')
packettype STRING(255),Name('packetType')
fixedprice Real,Name('fixedPrice')
End
azcustomto Group,Name('azCustomTO')
billingcode Long,Name('billingCode')
employeeid Long,Name('employeeId')
hourlyrateid Long,Name('hourlyRateId')
timeto Group,Name('timeTO')
hours Long,Name('hours')
unitprice Real,Name('unitPrice')
End
settlementcode STRING(255),Name('settlementCode')
pricegroupto Group,Name('priceGroupTO')
price Long,Name('price')
End
End
sparepartto Group,Name('sparePartTO')
id STRING(255),Name('id')
quantity Long,Name('quantity')
unitprice Real,Name('unitPrice')
totalpriceexcludingvat Real,Name('totalPriceExcludingVat')
economy Byte,Name('economy | boolean')
billingcode STRING(255),Name('billingCode')
discountgroup Long,Name('discountGroup')
employeeid Long,Name('employeeId')
settlementcode STRING(255),Name('settlementCode')
End
commentto Long,Name('commentTO')
labourto Group,Name('labourTO')
id Long,Name('id')
timeunits Long,Name('timeUnits')
unitprice Real,Name('unitPrice')
totalpriceexcludingvat Real,Name('totalPriceExcludingVat')
billingcode Long,Name('billingCode')
hourlyrateid Long,Name('hourlyRateId')
employeeid Long,Name('employeeId')
End
End
orderclocktos Group,Name('orderClockTOs')
in STRING(255),Name('in')
out STRING(255),Name('out')
time STRING(255),Name('time')
employeeref Long,Name('employeeRef')
employeename STRING(255),Name('employeeName')
timetypecode Long,Name('timeTypeCode')
timetypecodetext STRING(255),Name('timeTypeCodeText')
jobcode STRING(255),Name('jobCode')
jobcodetext STRING(255),Name('jobCodeText')
ordernumber Long,Name('orderNumber')
departmentref Long,Name('departmentRef')
departmenttext STRING(255),Name('departmentText')
employeetype Long,Name('employeeType')
employeetypetext STRING(255),Name('employeeTypeText')
employeecategory STRING(255),Name('employeeCategory')
employeecategorytext STRING(255),Name('employeeCategoryText')
hourlyratecode Long,Name('hourlyRateCode')
status STRING(255),Name('status')
id STRING(255),Name('id')
End
End
Xml xFilesTree
CODE
!-- Load From StringTheory object into Structure---
xml.start()
xml.SetTagCase(xf:CaseAsIs)
xml.Load(workshoporderwarrantycaseto,SomeLoadString,'workshopOrderWarrantyCaseTO') ! Load From a StringTheory object
Hope this helps.
Regards
Johan de Klerk