+
Point of view
All features
class XML_NODE
Summary
Class invariant
Overview
creation features
features
name: STRING
writable attribute
The name of the node
line: INTEGER_32
writable attribute
The position of the node in its source file
column: INTEGER_32
writable attribute
The position of the node in its source file
attribute_name (index: INTEGER_32): STRING
effective function
The name of the i'th attribute
attribute_value (index: INTEGER_32): STRING
effective function
The value of the i'th attribute
attribute_at (a_attribute_name: STRING): STRING
effective function
The value of the attribute given by its name; Void if not set
attributes_count: INTEGER_32
effective function
The number of attributes
child (index: INTEGER_32): XML_NODE
effective function
The i'th child
children_count: INTEGER_32
effective function
The number of children
parent: XML_NODE
writable attribute
The parent of the node, Void if it is the root
data: STRING
writable attribute
Data in the node, if there is some.
set_attribute (a_attribute_name: STRING, a_attribute_value: STRING)
effective procedure
add_child (node: XML_NODE)
effective procedure
set_data (a_data: STRING)
effective procedure
set_parent (a_parent: XML_NODE)
effective procedure
writable attribute
children: FAST_ARRAY[XML_NODE]
writable attribute
make (a_name: STRING, a_line: INTEGER_32, a_column: INTEGER_32)
effective procedure