Virtual Method

AravisDomDocumentcreate_element

Declaration [src]

ArvDomElement*
create_element (
  ArvDomDocument* self,
  const char* tag_name
)

Description [src]

Create a new element.

Parameters

tag_name const char*
 

Node name of the element to create.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.

Return value

Returns: ArvDomElement
 

A new orphan ArvDomElement, NULL on error.

 The caller of the function takes ownership of the data, and is responsible for freeing it.