DBusNodeInfo.newForXml

Parses xml_data and returns a #GDBusNodeInfo representing the data.

The introspection XML must contain exactly one top-level <node> element.

Note that this routine is using a GMarkup[glib-Simple-XML-Subset-Parser.description]-based parser that only accepts a subset of valid XML documents.

class DBusNodeInfo
static
newForXml
(
string xmlData
)

Parameters

xmlData string

Valid D-Bus introspection XML.

Return Value

Type: gio.dbus_node_info.DBusNodeInfo

A #GDBusNodeInfo structure or null if error is set. Free with gio.dbus_node_info.DBusNodeInfo.unref.