Home » Categories » Solutions by Business Process » E-Business » XML

XML Transaction Definition

Datafile Software

XML Transaction Definition


XML transactions, whether simple export or import options, or application transaction options, are driven by definitions held in a single folder. This folder generally lives in the root Datafile folder, and its location is defined via the General Configuration option.

Up to 99 XML transactions can be defined, and the definitions for each transaction are held in sub-folders within the XML folder, named 0001 for the first XML transaction, 0002 for the next XML, and so on. Within each of these folders are two active files, one of which is a file called XML.INI holding configuration data for the transaction concerned, and the other a file called XML.XML, which is the XML template for the transaction. In fact the XML template can reside elsewhere in the system, but there is a benefit to keeping it within its transactional folder.

If you look in these folders, you may also see other files, such as XML.~INI, and XML.~XML; these are backup copies created by the definition process when you make any changes. In fact these backup copies are left in place should you delete an XML option, which allows you to recover if you deleted the option by accident.

The XML.INI file is entirely managed by the XML definition process, and should not normally be changed except via that process. The long-term objective is for the XML.XML file also to be edited via the definition process. At present, though, you’ll need to use a word processor such as Microsoft’s NotePad or WordPad programs if you wish to change templates.

In the case of the single database XML options, the definition process creates the XML template according to some simple rules. You may still wish to edit it; for example, if you wish to change XML file element names or add extra processing facilities. In the case of the XML application transactions, you’ll need to create a template outside the Datafile definition process.

The notes below explain the two parts to the definition process: first the Datafile screens that amend the XML configuration; and then how to create the working template.
Custom Fields
  • Release ID: Standard
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Accumulator File
Viewed 1759 times since Mon, Jul 9, 2012
Specific Trading Partner Notes - Kingfield Heath
Viewed 1283 times since Tue, Jul 10, 2012
EAN/Locns (Incoming Messages)
Viewed 3582 times since Thu, Jul 5, 2012
XML Application Options
Viewed 1361 times since Mon, Jul 9, 2012
Run XML Transaction Extensions
Viewed 1177 times since Thu, Jul 5, 2012
repeat
Viewed 1324 times since Mon, Jul 9, 2012
subtractfrom
Viewed 1363 times since Mon, Jul 9, 2012
Application Considerations - Product Information
Viewed 1261 times since Tue, Jul 10, 2012
Foreign Currency
Viewed 1230 times since Mon, Jul 9, 2012
Tables Distributed
Viewed 1377 times since Tue, Jul 10, 2012