Method

AgsFilexml_new_node

since: 4.0.0

Declaration [src]

xmlNode*
ags_file_xml_new_node (
  AgsFile* file,
  xmlNs* xml_namespace,
  gchar* node_name
)

Description [src]

Create #xmlNode-struct.

Available since: 4.0.0

This method is not directly available to language bindings.

Parameters

xml_namespace

Type: xmlNs*

The XML namespace.

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

Type: gchar*

The XML node name.

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

Return value

Type: xmlNode

The newly created #xmlNode-struct.

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