Class
LasemDomDocument
Instance methods
lsm_dom_document_append_from_memory
Append a chunk of xml tree to an existing document. The resulting nodes will be appended to
node, or to document if node == NULL.
lsm_dom_document_save_to_path
Save document as an xml representation to a file, replacing the already existing file if needed.
lsm_dom_document_save_to_url
Save document as an xml representation to url, replacing the already existing file if needed.
Methods inherited from LsmDomNode (18)
lsm_dom_node_append_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.
lsm_dom_node_changed
lsm_dom_node_get_child_nodes
lsm_dom_node_get_first_child
lsm_dom_node_get_last_child
lsm_dom_node_get_next_sibling
lsm_dom_node_get_node_name
Gets the node name.
lsm_dom_node_get_node_type
lsm_dom_node_get_node_value
Gets the node value.
lsm_dom_node_get_owner_document
lsm_dom_node_get_parent_node
lsm_dom_node_get_previous_sibling
lsm_dom_node_has_child_nodes
lsm_dom_node_insert_before
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.
lsm_dom_node_remove_child
Removes the child node indicated by old_child from the list of children, and returns it.
lsm_dom_node_replace_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.
lsm_dom_node_set_node_value
lsm_dom_node_write_to_stream
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct LasemDomDocumentClass {
  LsmDomNodeClass parent_class;
  LsmDomElement* (* get_document_element) (
    LsmDomDocument* self
  );
  LsmDomElement* (* create_element) (
    LsmDomDocument* self,
    const char* tag_name
  );
  LsmDomText* (* create_text_node) (
    LsmDomDocument* self,
    const char* data
  );
  LsmDomView* (* create_view) (
    LsmDomDocument* self
  );
  
}No description available.
Class members
- parent_class: LsmDomNodeClass
- No description available. 
- get_document_element: LsmDomElement* (* get_document_element) ( LsmDomDocument* self )
- No description available. 
- create_element: LsmDomElement* (* create_element) ( LsmDomDocument* self, const char* tag_name )
- No description available. 
- create_text_node: LsmDomText* (* create_text_node) ( LsmDomDocument* self, const char* data )
- No description available. 
- create_view: LsmDomView* (* create_view) ( LsmDomDocument* self )
- No description available. 
Virtual methods
Lasem.DomDocumentClass.create_element
Create a new element node with a type corresponding to tag_name.
Lasem.DomDocumentClass.get_document_element
Get the child node that is the root element of the document.