Description
This document provides an outline of the steps needed to convert Excel data into an XML file and subsequently import into SwiftPOS.
The example being used is an XLS Product file which will be used to create a price changes XML file for use in SwiftPOS.
Note : This guide assumes that the source file has already been modified to conform with the data format of the destination file and ultimately SwiftPOS.
Operation
- Creating an XML Mapping File
The first part of the process is to create an XML mapping file which is used by Excel to determine the format of the XML export data. This file is basically a sample of the format of the exported data. This screenshot below is an example of data as it appears in excel and contains 3 columns which are Price Level, PLU and Price.
Below is what the XML mapping file would look like for the data shown in the image above. You will be able to see that all of the fields exist in the XML file and that it contains 2 extra elements which are PriceCheck and PRCHECK. <PriceCheck> <PRCHECK> <PriceLevel></PriceLevel> <PLU></PLU> <Price></Price> </PRCHECK> <PRCHECK> <PriceLevel></PriceLevel> <PLU></PLU> <Price></Price> </PRCHECK> </PriceCheck> |
- Exporting as XML Data
|
Related Topics