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
Application Considerations - Customer Information
Viewed 2890 times since Tue, Jul 10, 2012
Permitted Characters
Viewed 1432 times since Mon, Jul 9, 2012
Additional Data Items and Parameters
Viewed 3236 times since Tue, Jul 10, 2012
General Lookup File
Viewed 1300 times since Mon, Jul 9, 2012
Datafile Software - Keyboard Shortcuts
Viewed 20507 times since Thu, Jul 26, 2012
XML Schema Definition (XSD)
Viewed 1373 times since Tue, Jul 10, 2012
Application Considerations - Back-to-Back Order Systems
Viewed 2786 times since Tue, Jul 10, 2012
decimals
Viewed 3792 times since Mon, Jul 9, 2012
Application Considerations - Document Definition Parameters
Viewed 1294 times since Tue, Jul 10, 2012
save
Viewed 1209 times since Mon, Jul 9, 2012