| Top |
ArvDomDocument * arv_dom_implementation_create_document (const char *namespace_uri,const char *qualified_name);
Create a new DOM document. Currently, only qualified_name
is used.
void arv_dom_implementation_add_document_type (const char *qualified_name,GType document_type);
void arv_dom_document_append_from_memory (ArvDomDocument *document,ArvDomNode *node,const void *buffer,int size,GError **error);
Append a chunk of xml tree to an existing document. The resulting nodes will be appended to
node
, or to document
if node
== NULL.
Size set to a negative value indicated an unknow xml data size.
ArvDomDocument * arv_dom_document_new_from_memory (const void *buffer,int size,GError **error);
ArvDomDocument * arv_dom_document_new_from_path (const char *path,GError **error);
ArvDomDocument * arv_dom_document_new_from_url (const char *url,GError **error);
ArvDomElement *
arv_dom_document_get_document_element (ArvDomDocument *self);
ArvDomElement * arv_dom_document_create_element (ArvDomDocument *self,const char *tag_name);
Create a new element.
ArvDomText * arv_dom_document_create_text_node (ArvDomDocument *self,const char *data);
Create a new text element.
void arv_dom_document_set_path (ArvDomDocument *self,const char *path);
void * arv_dom_document_get_href_data (ArvDomDocument *self,const char *href,gsize *size);
Load the content referenced by href
.