General description of the XML file
XML is a textual way of writing data (data format) independent on the computer platform. It is used for data transfer that can be organized in arrays or contained in objects.
A general XML document consists of so-called
"tags". It is a word closed in the angle brackets (
< >) followed by a tag content and completed by the end sign of the tag, for example:
<Prop> .. tag content .. </Prop>
The tag content can be empty (then the whole tag can be written in short, for example.
<Prop/>), there can be a plain text or there can be other tags included in it. There can be more tags on the same level (consecutively), it is also possible to nest them into arbitrary level. Every tag can have so-called attributes that are written, for example, as follows (the attribute is
Name in this case):
<Prop Name="PmaData"> .. tag content .. </Prop>
The usage in the PROMOTIC system: