+
Point of view
XML_PARSER
deferred class XML_CALLBACKS
Summary
Overview
exported features
set_validator (a_validator: XML_VALIDATOR)
effective procedure
Sets a validator for this XML file.
validator: XML_VALIDATOR
writable attribute
The XML validator for this file (DTD, XML Schema...)
with_attribute (attribute_name: STRING, attribute_value: STRING, line: INTEGER_32, column: INTEGER_32)
deferred procedure
Called by the parser to add an attribute of a node BEFORE calling open_node
open_node (node_name: STRING, line: INTEGER_32, column: INTEGER_32)
deferred procedure
When the parser reads an opening node
close_node (node_name: STRING, line: INTEGER_32, column: INTEGER_32)
deferred procedure
When the parser reads a closing node
open_close_node (node_name: STRING, line: INTEGER_32, column: INTEGER_32)
deferred procedure
When the parser reads a node that opens and closes immediately (syntax "<node/>")
xml_header (line: INTEGER_32, column: INTEGER_32)
deferred procedure
Called by the parser if a "<?xml ... ?>"
processing_instruction (a_target: STRING, a_data: STRING)
deferred procedure
Called by the parser if a "<?...?>"
entity (a_entity: STRING, line: INTEGER_32, column: INTEGER_32): STRING
deferred function
Called by the parser when an &entity; is found.
current_node: STRING
deferred function
The current node
data (a_data: STRING, line: INTEGER_32, column: INTEGER_32)
deferred procedure
Called by the parser when the node contains raw data
parse_error (line: INTEGER_32, column: INTEGER_32, message: STRING)
deferred procedure
Called by the parser if there is an error
at_error: BOOLEAN
deferred function
True if there was at least an error