|  |  |  | GUPnP Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
struct GUPnPXMLDoc; GUPnPXMLDoc * gupnp_xml_doc_new (xmlDoc *xml_doc); GUPnPXMLDoc * gupnp_xml_doc_new_from_path (const char *path,GError **error);
struct GUPnPXMLDoc {
        xmlDoc *doc;
};
Reference-counting wrapper for libxml's xmlDoc
GUPnPXMLDoc *       gupnp_xml_doc_new                   (xmlDoc *xml_doc);
Create a new GUPnPXMLDoc for xml_doc.
| 
 | Pointer to xmlDoc to wrap under this object | 
| Returns : | A new GUPnPXMLDoc, or NULLon 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 to xml document | 
| 
 | Location to put the error into | 
| Returns : | A new GUPnPXMLDoc, or NULLon an error |