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

Template Wizard

Datafile Software

Template Wizard


The template wizard allows you to pick any or all of the data items from the targeted database. If you reply "Y” to the question Default output/input all data items? then the full set of data items in the file is displayed in a matrix on the screen, as shown below. If you reply "N”, then you can select the items in the order you want them used.

Note that you can use the [F4-Select] button or key to view the file contents and select the appropriate data items.

There are three prompts at the bottom of this screen:
Name to use for Database (root) element [DATABASE ]
Name to use for Record (child) element [RECORD ]
Specify own names for data elements [ ]

You can specify the names to use for the root element and its child element to match that required. By ticking the "…data elements” box, you are given the chance to enter your own element names for each of the data items chosen — this occurs after you’ve accepted the item definitions. Each item is highlighted with the data item name given in the database structure, and you can change this to another name of your choice.

Note

Element names in XML are limited to the character set of letters (A–Z, a–z), numbers (0–9), and the punctuation characters hyphen, underscore and period. An element name can start only with letters or the underscore. The names you enter are checked to ensure that they do not contain disallowed characters, and that you have not duplicated any element name in the structure. We recommend that you go through the process of specifying your own names even though you plan to stick to the database names, just to check that the names are all valid for XML. Note too that element names entered here can be a maximum of 20 characters in length. Should you require longer element names, you’ll need to edit the template with a text-processor after it is created.

When you’ve finished this process, the XML template is then created and displayed. Future plans include an editing process here, but for the moment it is merely displayed, and you can {Escape] to exit the definition process.

You should then save the template, and save the XML definition itself.

If you need to edit the template, use a text processor such as Notepad or WordPad.
Custom Fields
  • Release ID: Standard
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
XML Application Options
Viewed 1375 times since Mon, Jul 9, 2012
Specific Trading Partner Notes - Kingfield Heath
Viewed 1297 times since Tue, Jul 10, 2012
Datafile XML Template
Viewed 1405 times since Mon, Jul 9, 2012
addto
Viewed 1262 times since Mon, Jul 9, 2012
Datafile Software - Keyboard Shortcuts
Viewed 20516 times since Thu, Jul 26, 2012
Typical XML Purchase Order Cycle
Viewed 1230 times since Mon, Jul 9, 2012
check
Viewed 1273 times since Mon, Jul 9, 2012
Transaction Template Structures
Viewed 1294 times since Mon, Jul 9, 2012
Supplier Parameters
Viewed 1314 times since Mon, Jul 9, 2012
Application Considerations - Document Definition Parameters
Viewed 1300 times since Tue, Jul 10, 2012