Commissioning Manual
322 01/2017
Continued The parser also supplies variables so that the call-back functions can access the event
data.
tag_name - tag name
num - number of attributes found
$xmlAttribute String array that contains the 0-num attribute name range.
$xmlValue String array that contains the 0-num attribute value range.
<function_body name="startElementHandler" return="true"
parameter="tag_name, num">
<print text="attribute name %s"> $xmlAttribute[0]</print>
<print text="attribute value %s"> $xmlValue [0]</print>
</function_body>
tag_name - tag name
<function_body name="endElementHandler" parameter="tag_name">
<print text="name %s"> tag_name </print>
Continued
$xmlCharacters String with data
$xmlCharactersStart Always 0
$xmlCharactersLength Number of bytes
<function_body name="charactersHandler" return="true" >
<print text="chars %s"> $xmlCharacters </print>
</function_body>
state 1 start document, 2 end document
$xmlErrorString Contains the invalid line (system variable)
<function_body name="errorHandler" >
<print text="error %s">$xmlErrorString</print>
</function_body>
$return If 1 (true), the parser continues parsing the file