Skip to content

XML_BREAK ​

XML_BREAK stops the parsing.

Syntax ​

leo-grammar
CC "Documentation" XML_BREAK
CC "Documentation" XML_BREAK

Parameters ​

none

Returns ​

none

Details ​

This method can be called within a callbackprocedure to abort the xml import. When it is called, the parsing of the xml file will stop at once and an error code will be returned by XML_PARSE.

See Also ​

Examples ​

asc
CC "Documentation" XML_SETSCRIPT raw {
   PROCEDURE CREATEMODEL name:string id:int {
      # some adoscript here
      CC "Documentation" XML_BREAK
   }
}
CC "Documentation" XML_SETSCRIPT raw {
   PROCEDURE CREATEMODEL name:string id:int {
      # some adoscript here
      CC "Documentation" XML_BREAK
   }
}

Versions and Changes ​

Available since ADOxx 1.3