<< Click to Display Table of Contents >> Navigation: 3. Script Language > XML-Parser > XML - no parse > XML-Parser * XML. (no Parse needed) |
MiniRobotLanguage (MRL)
XML.Clear Error
XML.cle
Clear internal Error flags
Intention
This command is used to clear all internal XML.-Error-Flags.
Usage is:
XML.Clear Error
Typically it can be used after the Error has been handled.
When loading or parsing a new XML-File, all Error Flags are automatically cleared, therefore no need to use this command for initilization.
Syntax
XML.Clear Error
Parameter Explanation
-
Example
''***********************************
' XML.Clear Error-Sample
'
'***********************************
$$XMF=?pfad\Small_XMLx.txt
' Now we are going to parse it
XML.Load File|$$XMF
' We check if there are errors
JIT.Lab_Err
:enx
MBX.!
ENR.
'-----------------------------------------------------------
' Error Handler
:Lab_Err
' Get Error
XML.get error|$$ERT
PRT.$$ERT
' Clear Error
XML.cle
' Error is cleared
XML.get error|$$ERT
PRT. Error cleared! $$ERT
GTO.enx
ENR.
You can find the XML-Sample-Data file in the Installation folder in the Samples-Folder "XML".
Remarks
-
Limitations:
-
See also:
• ! Smart Package Robot 's XML-Features
• XML. - eXtended Markup Language
•