Method

AgsFilexml_get_root_element

since: 4.0.0

Declaration [src]

xmlNode*
ags_file_xml_get_root_element (
  AgsFile* file,
  xmlDoc* doc
)

Description [src]

Get root element of doc.

Available since: 4.0.0

Parameters

doc

Type: xmlDoc

The #xmlDoc-struct.

The data is owned by the caller of the method.

Return value

Type: xmlNode

The root element of #xmlDoc-struct.

The returned data is owned by the instance.