Siemens SINUMERIK 840DE sl Commissioning Manual page 762

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Generating user dialogs
1.7 XML identifier
Tag identifier
XML_PARSER Continued
44
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 with the number of elements indicated by num.
$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>
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Easy XML

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents