GUPnPXMLDoc

## GUPnPXMLDoc GUPnPXMLDoc — GObject wrapper for xmlDoc. |

## Synopsis

    struct              GUPnPXMLDoc;
    GUPnPXMLDoc *       gupnp_xml_doc_new                   (xmlDoc *xml_doc);
    GUPnPXMLDoc *       gupnp_xml_doc_new_from_path         (const char *path,
                                                             GError **error);

## Object Hierarchy

      GObject
       +----GUPnPXMLDoc

## Description

GObject wrapper for xmlDoc, so that we can use refcounting and weak references.

## Details

### struct GUPnPXMLDoc

    struct GUPnPXMLDoc {
            xmlDoc *doc;
    };

### gupnp_xml_doc_new ()

    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

### gupnp_xml_doc_new_from_path ()

    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