Method

AgsFilexml_set_root_element

since: 4.0.0

Declaration [src]

void
ags_file_xml_set_root_element (
  AgsFile* file,
  xmlDoc* doc,
  xmlNode* root_node
)

Description [src]

Set root element root_node of doc.

Available since: 4.0.0

Parameters

doc

Type: xmlDoc

The #xmlDoc-struct.

The data is owned by the caller of the function.
root_node

Type: xmlNode

The #xmlNode-struct as root node.

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