EasyManuals Logo

Siemens SINUMERIK 808D ADVANCED Commissioning Manual

Siemens SINUMERIK 808D ADVANCED
508 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #321 background imageLoading...
Page #321 background image
Commissioning Manual
01/2017
321
Tag identifier
Meaning
XML_PARSER
The “XML_PARSER” tag can be used to parse XML files.
The parser interprets an XML file and calls defined call-back functions. Each call-back
function belongs to a predefined event. The programmer can process the XML data within
this function.
Predefined events:
start document
The parser opens the document and starts parsing.
end document
The parser closes the document.
start element
The parser has found an element and creates a list with all attributes and attribute val-
ues.
These lists are forwarded to the call-back function.
end element
The end of the element has been found.
characters
The parser forwards all characters of an element.
error
The parser has detected a syntax error.
When an event occurs, the parser calls the call-back function and checks the function
return value. If the function returns "true," the parser continues the process.
Interfaces
The value of the
name
attribute contains the path to the XML file.
To assign events to the call-back functions, the following properties must be specified:
Standard
startElementHandler
endElementHandler
charactersHandler
Optional
errorHandler
documentHandler
The value of an attribute defines the name of the call-back function.
Example:
<XML_PARSER name="f:\appl\xml_test.xml">
<!-- standard handler -->
<property startElementHandler="startElementHandler" />
<property endElementHandler="endElementHandler" />
<property charactersHandler="charactersHandler" />
<!-- optional handler -->
<property errorHandler="errorHandler" />
<property documentHandler="documentHandler" />
</XML_PARSER>

Table of Contents

Other manuals for Siemens SINUMERIK 808D ADVANCED

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 808D ADVANCED and is the answer not in the manual?

Siemens SINUMERIK 808D ADVANCED Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 808D ADVANCED
CategoryControl Unit
LanguageEnglish

Related product manuals