Siemens SINUMERIK 808D ADVANCED Series Commissioning Manual page 307

Hide thumbs Also See for SINUMERIK 808D ADVANCED Series:
Table of Contents

Advertisement

Tag identifier
XML_PARSER Continued
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
Meaning
The parser also supplies variables so that the call-back functions can access the event
data.
startElementHandler:
Function parameters
tag_name
- tag name
num
- number of attributes found
System variables
$xmlAttribute
String array that contains the 0-num attribute name range.
$xmlValue
String array that contains the 0-num attribute value range.
Example:
<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>
endElementHandler:
Function parameters
tag_name
- tag name
Example:
<function_body name="endElementHandler" parameter="tag_name">
<print text="name %s"> tag_name </print>
</function_body>
307

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808d advanced t

Table of Contents