types::Node
iter_nodes
iter_attrs
types::Document
iter_nodes
Re-release of v0.2.1 with some more version numbers updated and without messing up git tag-iness.
- Privatised
attributes
,subnodes
, andnodes
attrs ontypes::Document
andtypes::Node
. Direct access to these hashmaps have been replaced by a new set of methods that should allow for anything that was previously being done to still be done. - Renamed
types::Document::new_node
totypes::Document::new_node_or_get
, and change its semantics slightly. If a node already exists with the specified name, that node will be returned instead. To always insert a new node, usetypes::Document::insert_node
. To delete a currently existing node, usetypes::Document::remove_node
. - Likewise with
types::Node::new_node
->types::Node::new_node_or_get
.
types::Node
insert_node
delete_node
insert_attr
delete_attr
is_empty
has_node
has_nodes
node_count
has_attr
has_attrs
attr_count
types::Document
insert_node
delete_node
is_empty
has_node
has_nodes
node_count
Initial release