3
XML Overview
XML files for system and device configuration contain tags (command lines) which can be used
to configure one or more optiPoint phones.
3.1
Tag 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 name="admin-pwd">123456</item>
A tag consists of three parts.
The first part (<Item name="admin-pwd">) specifies which parameters are transferred.
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 name="function-key-def" Index="5">1</Item>
This additional index, for example, specifies the number on the keypad or the value in question (in-
dex="5").
3.2
Structure of an XML File
An XML file always has the same structure. It starts with the following tags:
<?xml version="1.0" encoding="utf-8" ?>
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.
A31003-2056-X619-1-76A9, March 25 2006
XML Configuration Management, Administration manual
xml_03.fm
XML Overview
Tag Structure
3-1