Xml files, General information, Why xml – PrehKeyTec MCI TouchKey User Manual

Page 8: Xsd schema-files

Advertising
background image

The menu "Save & Exit" saves the configuration and exits the tool.

Simply click the "Exit" button to end the program without saving the configuration.

XML Files

General information


The simplest way to create XML files is using the TouchKey Programmer. The
program has the ability to check the created files for any mistakes. Wrongly
configured XML files cannot be displayed on the LCD.

The XML files can also be manually created and configured using simple text editor
programs like notepad or any other XML editor programs.

A third method of configuration is letting the application do it. The application opens
up the appropriate XML file and configures the content, after which the file is saved.
The TouchKey Server will recognize this saving of the file and sends the updated file
to the display of the MCI TouchKey.

Why XML?


XML offers the following advantages:

- Programming

language independence

- Simple structuring of data
- No software API necessary
- Remote

configuration

and updating of XML files

- XML files can be easily updated manually or by an application
- XML is a standardized protocol

XSD Schema-Files

The TouchKey Server uses XSD-Schema-Files to validate the syntax and value
range of the created XML files.

As such the following files must always be present in the XML-Folder:

- Graphic.xsd
- Layer.xsd
- Text.xsd
- TouchKey.xsd

PrehKeyTec GmbH

MCI_TouchKey_TechDoc_RevC_en.doc - 2011-02-09

Page 8/40

Advertising