I have received XML file in different format. I have used XMLAdapter to import this file to VFP9.0 table. It is giving error. Please help me to import this XML file to VFP table. Received file sample as follows:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Envelope xmlns="schemas-hiwg-org-au" xmlns:a="schemas-hiwg-org-au" xmlns:xsi=" TransactionID="2270"><SenderID>LXD</SenderID><RecipientID>DAT</RecipientID><DocumentCount>1</DocumentCount><Documents><Invoice RecordType="10"><TradingPartnerID>LXD-DAT</TradingPartnerID><MessageType>INVOIC</MessageType><VersionControlNo>3.0</VersionControlNo><DocumentType>TAX INVOICE</DocumentType><DocumentNo>2500515</DocumentNo><MessageFunction>9</MessageFunction><DocumentDate>20061221</DocumentDate><FilegenerateDateTime>20061221132524</FilegenerateDateTime><PurchaseOrderNo>7032350_INVOICE</PurchaseOrderNo><CrossRefNo>0</CrossRefNo><HeaderRefType>UC</HeaderRefType><HeaderRefNo>7032350_ORDER</HeaderRefNo><Buyer><BuyerID>7032350</BuyerID><BuyerName>FORMWAY FURN LTD T/A FORMWAY</BuyerName><BuyerAddressL1>BRENDON</BuyerAddressL1><BuyerAddressL2>PO BOX 38148</BuyerAddressL2><BuyerAddressL3/><BuyerAddressL4>PETONE</BuyerAddressL4><BuyerPostcode>6415</BuyerPostcode><BuyerCountry>NZ</BuyerCountry></Buyer><Delivery><ShipToID>7032350</ShipToID><DeliverToType>ST</DeliverToType><DeliverToName>FORMWAY BRENDON</DeliverToName><DeliverToAddressL1>4 - 8 GLOVER STREET</DeliverToAddressL1><DeliverToAddressL2>WELLINGTON</DeliverToAddressL2><DeliverToAddressL3/><DeliverToAddressL4/><DeliverToPostcode/><DeliverToCountry>NZ</DeliverToCountry></Delivery><Supplier><SupplierID>LXD</SupplierID><SupplierTaxCode>76-484-384</SupplierTaxCode><SupplierName>Kea Project Testing L2</SupplierName></Supplier><Currency>NZD</Currency><AccountingValueDate>20061221</AccountingValueDate><TermsNetDueDate>20070220</TermsNetDueDate><HeaderChargeCode>389</HeaderChargeCode><HeaderChargeFreight>10.00</HeaderChargeFreight><HeaderChargeSundry>140.00</HeaderChargeSundry><HeaderChargeValue>150.00</HeaderChargeValue><Line RecordType="20"><LineNo>1</LineNo><GTIN/><SupplierProductCode>7100563</SupplierProductCode><BuyerProductCode/><ProductDescription>Grass Nova 66500 Front Panel Holder Standard</ProductDescription><DespatchQty>10.000</DespatchQty><DespatchUOM>PR</DespatchUOM><OrderedQty>10.000</OrderedQty><OrderedQtyUOM>PR</OrderedQtyUOM><InvoicedQty>10.000</InvoicedQty><InvoicedQtyUOM>PR</InvoicedQtyUOM><InvoicePrice>8.3300</InvoicePrice><DeliveryNoteNo/><PurchaseOrderNo/><PurchaseOrderLineNo>0</PurchaseOrderLineNo><LineValueExclGST>83.30</LineValueExclGST><LineGSTRate>12.50</LineGSTRate><LineGSTValue>10.41</LineGSTValue><LineValueInclGST>93.71</LineValueInclGST></Line><Line RecordType="20"><LineNo>2</LineNo><GTIN/><SupplierProductCode>7100597</SupplierProductCode><BuyerProductCode/><ProductDescription>Grass Nova 51099 Front Panel 1083mm Round Rail</ProductDescription><DespatchQty>10.000</DespatchQty><DespatchUOM>SET</DespatchUOM><OrderedQty>10.000</OrderedQty><OrderedQtyUOM>SET</OrderedQtyUOM><InvoicedQty>10.000</InvoicedQty><InvoicedQtyUOM>SET</InvoicedQtyUOM><InvoicePrice>20.8700</InvoicePrice><DeliveryNoteNo/><PurchaseOrderNo/><PurchaseOrderLineNo>0</PurchaseOrderLineNo><LineValueExclGST>208.70</LineValueExclGST><LineGSTRate>12.50</LineGSTRate><LineGSTValue>26.09</LineGSTValue><LineValueInclGST>234.79</LineValueInclGST></Line><Trailer RecordType="90"><TotalValueExclGST>442.00</TotalValueExclGST><TotalGSTValue>55.25</TotalGSTValue><TotalValueInclGST>497.25</TotalValueInclGST></Trailer></Invoice></Documents></Envelope>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Envelope xmlns="schemas-hiwg-org-au" xmlns:a="schemas-hiwg-org-au" xmlns:xsi=" TransactionID="2270"><SenderID>LXD</SenderID><RecipientID>DAT</RecipientID><DocumentCount>1</DocumentCount><Documents><Invoice RecordType="10"><TradingPartnerID>LXD-DAT</TradingPartnerID><MessageType>INVOIC</MessageType><VersionControlNo>3.0</VersionControlNo><DocumentType>TAX INVOICE</DocumentType><DocumentNo>2500515</DocumentNo><MessageFunction>9</MessageFunction><DocumentDate>20061221</DocumentDate><FilegenerateDateTime>20061221132524</FilegenerateDateTime><PurchaseOrderNo>7032350_INVOICE</PurchaseOrderNo><CrossRefNo>0</CrossRefNo><HeaderRefType>UC</HeaderRefType><HeaderRefNo>7032350_ORDER</HeaderRefNo><Buyer><BuyerID>7032350</BuyerID><BuyerName>FORMWAY FURN LTD T/A FORMWAY</BuyerName><BuyerAddressL1>BRENDON</BuyerAddressL1><BuyerAddressL2>PO BOX 38148</BuyerAddressL2><BuyerAddressL3/><BuyerAddressL4>PETONE</BuyerAddressL4><BuyerPostcode>6415</BuyerPostcode><BuyerCountry>NZ</BuyerCountry></Buyer><Delivery><ShipToID>7032350</ShipToID><DeliverToType>ST</DeliverToType><DeliverToName>FORMWAY BRENDON</DeliverToName><DeliverToAddressL1>4 - 8 GLOVER STREET</DeliverToAddressL1><DeliverToAddressL2>WELLINGTON</DeliverToAddressL2><DeliverToAddressL3/><DeliverToAddressL4/><DeliverToPostcode/><DeliverToCountry>NZ</DeliverToCountry></Delivery><Supplier><SupplierID>LXD</SupplierID><SupplierTaxCode>76-484-384</SupplierTaxCode><SupplierName>Kea Project Testing L2</SupplierName></Supplier><Currency>NZD</Currency><AccountingValueDate>20061221</AccountingValueDate><TermsNetDueDate>20070220</TermsNetDueDate><HeaderChargeCode>389</HeaderChargeCode><HeaderChargeFreight>10.00</HeaderChargeFreight><HeaderChargeSundry>140.00</HeaderChargeSundry><HeaderChargeValue>150.00</HeaderChargeValue><Line RecordType="20"><LineNo>1</LineNo><GTIN/><SupplierProductCode>7100563</SupplierProductCode><BuyerProductCode/><ProductDescription>Grass Nova 66500 Front Panel Holder Standard</ProductDescription><DespatchQty>10.000</DespatchQty><DespatchUOM>PR</DespatchUOM><OrderedQty>10.000</OrderedQty><OrderedQtyUOM>PR</OrderedQtyUOM><InvoicedQty>10.000</InvoicedQty><InvoicedQtyUOM>PR</InvoicedQtyUOM><InvoicePrice>8.3300</InvoicePrice><DeliveryNoteNo/><PurchaseOrderNo/><PurchaseOrderLineNo>0</PurchaseOrderLineNo><LineValueExclGST>83.30</LineValueExclGST><LineGSTRate>12.50</LineGSTRate><LineGSTValue>10.41</LineGSTValue><LineValueInclGST>93.71</LineValueInclGST></Line><Line RecordType="20"><LineNo>2</LineNo><GTIN/><SupplierProductCode>7100597</SupplierProductCode><BuyerProductCode/><ProductDescription>Grass Nova 51099 Front Panel 1083mm Round Rail</ProductDescription><DespatchQty>10.000</DespatchQty><DespatchUOM>SET</DespatchUOM><OrderedQty>10.000</OrderedQty><OrderedQtyUOM>SET</OrderedQtyUOM><InvoicedQty>10.000</InvoicedQty><InvoicedQtyUOM>SET</InvoicedQtyUOM><InvoicePrice>20.8700</InvoicePrice><DeliveryNoteNo/><PurchaseOrderNo/><PurchaseOrderLineNo>0</PurchaseOrderLineNo><LineValueExclGST>208.70</LineValueExclGST><LineGSTRate>12.50</LineGSTRate><LineGSTValue>26.09</LineGSTValue><LineValueInclGST>234.79</LineValueInclGST></Line><Trailer RecordType="90"><TotalValueExclGST>442.00</TotalValueExclGST><TotalGSTValue>55.25</TotalGSTValue><TotalValueInclGST>497.25</TotalValueInclGST></Trailer></Invoice></Documents></Envelope>