DBusNodeInfo.newForXml

gio.dbus_node_info.DBusNodeInfo newForXml(string xmlData)

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-based parser that only accepts a subset of valid XML documents.

Parameters

xmlDataValid D-Bus introspection XML.

Returns

A #GDBusNodeInfo structure or null if error is set. Free

with gio.dbus_node_info.DBusNodeInfo.unref.

Throws