| GUPnP Reference Manual | ||||
|---|---|---|---|---|
GUPnPXMLDoc;
GUPnPXMLDoc* gupnp_xml_doc_new (xmlDoc *xml_doc);
GUPnPXMLDoc* gupnp_xml_doc_new_from_path (const char *path,
GError **error);
GUPnPXMLDoc* gupnp_xml_doc_new (xmlDoc *xml_doc);
Create a new GUPnPXMLDoc for xml_doc.
xml_doc : |
Pointer to xmlDoc to wrap under this object |
| Returns : | A new GUPnPXMLDoc, or NULL on an error
|
GUPnPXMLDoc* gupnp_xml_doc_new_from_path (const char *path, GError **error);
Create a new GUPnPXMLDoc for the XML document at path.
path : |
Path to xml document |
error : |
Location to put the error into |
| Returns : | A new GUPnPXMLDoc, or NULL on an error
|