Method

AgsFilexml_get_prop

since: 4.0.0

Declaration [src]

gchar*
ags_file_xml_get_prop (
  AgsFile* file,
  xmlNode* node,
  gchar* prop_name
)

Description [src]

Get property of node.

Available since: 4.0.0

Parameters

node

Type: xmlNode

The #xmlNode-struct.

The data is owned by the caller of the method.
prop_name

Type: gchar*

Property name.

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

Return value

Type: gchar*

The property of #xmlNode-struct.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.