XML Overview
Tag Structure
3XML Overview
XML files for system and device configuration contain tags (command lines) which can be used to configure one or more optiPoint phones.
3.1Tag Structure
An XML file is a text file that contains "tags" (command lines) which can be edited using a text editor. XML tags always have the same structure.
A parameter and a value is transferred for optiPoint phones. Each phone function is assigned a param- eter which in turn can have one or more values. Some parameters may be interdependent.
Example:
<Item
The first part (<Item
The second part (123456) defines the parameter value, in this example the administration password "123456". The third part (</Item>) completes the tag.
Indexed XML tags are the exception as they contain an index in an additional fourth part. Example:
<Item
This additional index, for example, specifies the number on the keypad or the value in question (in- dex="5").
3.2Structure of an XML File
An XML file always has the same structure. It starts with the following tags:
<?xml version=“1.0“
This tag describes the text file language (XML version and encoding).
<Message>
<Action>WriteItems</Action>
This tag instructs the phone to process the following tags.
<ItemList>
This chapter contains a list of other configuration tags that form the main part of the XML file.
</ItemList>
</Message>
These tags complete the XML file.
XML Configuration Management, Administrator Manual |