3 xml overview, 1 tag structure, 2 structure of an xml file – Siemens OPTIPOINT 410 S V6.0 User Manual
Page 24: 1 tag structure -1 3.2 structure of an xml file -1, 3xml overview
xml_03.fm
A31003-J4260-M101-2-76A9, 03-2007
XML Configuration Management, Administrator Manual
3-1
XML Overview
Tag Structure
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:
A tag consists of three parts.
The first part (
The second part (123456) defines the parameter value, in this example the administration password
"123456". The third part (
Indexed XML tags are the exception as they contain an index in an additional fourth part.
Example:
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:
This tag describes the text file language (XML version and encoding).
This tag instructs the phone to process the following tags.
This chapter contains a list of other configuration tags that form the main part of the XML
file.
These tags complete the XML file.