Top | ![]() |
![]() |
![]() |
![]() |
const char * | lsm_dom_node_get_node_name () |
const char * | lsm_dom_node_get_node_value () |
void | lsm_dom_node_set_node_value () |
LsmDomNodeType | lsm_dom_node_get_node_type () |
LsmDomNode * | lsm_dom_node_get_parent_node () |
LsmDomNodeList * | lsm_dom_node_get_child_nodes () |
LsmDomNode * | lsm_dom_node_get_first_child () |
LsmDomNode * | lsm_dom_node_get_last_child () |
LsmDomNode * | lsm_dom_node_get_previous_sibling () |
LsmDomNode * | lsm_dom_node_get_next_sibling () |
LsmDomNamedNodeMap * | lsm_dom_node_get_attributes () |
LsmDomNode * | lsm_dom_node_insert_before () |
LsmDomNode * | lsm_dom_node_replace_child () |
LsmDomNode * | lsm_dom_node_append_child () |
LsmDomNode * | lsm_dom_node_remove_child () |
gboolean | lsm_dom_node_has_child_nodes () |
void | lsm_dom_node_changed () |
LsmDomDocument * | lsm_dom_node_get_owner_document () |
GEnum ╰── LsmDomNodeType GObject ╰── LsmDomNode ├── LsmDomCharacterData ├── LsmDomDocument ╰── LsmDomElement
const char *
lsm_dom_node_get_node_name (LsmDomNode *self
);
Gets the node name.
const char *
lsm_dom_node_get_node_value (LsmDomNode *self
);
Gets the node value.
void lsm_dom_node_set_node_value (LsmDomNode *self
,const char *new_value
);
LsmDomNode *
lsm_dom_node_get_previous_sibling (LsmDomNode *self
);
LsmDomNode * lsm_dom_node_insert_before (LsmDomNode *self
,LsmDomNode *new_child
,LsmDomNode *ref_child
);
Inserts the node new_child
before the existing child node ref_child
. If
ref_child
is null, insert new_child
at the end of the list of children.
If the new_child
is already in the tree, it is first removed.
LsmDomNode * lsm_dom_node_replace_child (LsmDomNode *self
,LsmDomNode *new_child
,LsmDomNode *old_child
);
Replaces the child node old_child
with new_child
in the list of children,
and returns the old_child
node.
If the new_child
is already in the tree, it is first removed.
LsmDomNode * lsm_dom_node_append_child (LsmDomNode *self
,LsmDomNode *new_child
);
Adds the node new_child
to the end of the list of children of this node.
If the new_child
is already in the tree, it is first removed.
LsmDomNode * lsm_dom_node_remove_child (LsmDomNode *self
,LsmDomNode *old_child
);
Removes the child node indicated by old_child
from the list of children, and returns it.
LsmDomDocument *
lsm_dom_node_get_owner_document (LsmDomNode *self
);