## FoXmlNode

FoXmlNode

## Synopsis

    #define             FO_XML_NODE_ERROR
    GQuark              fo_xml_node_error_quark             (void);
    enum                FoXmlNodeError;
                        FoXmlNode;
    FoXmlNode*          fo_xml_node_new                     (void);
    FoXmlNode*          fo_xml_node_ref                     (FoXmlNode *fo_xml_node);
    void                fo_xml_node_unref                   (FoXmlNode *fo_xml_node);

## Description

## Details

### FO_XML_NODE_ERROR

    #define FO_XML_NODE_ERROR fo_xml_node_error_quark ()

### fo_xml_node_error_quark ()

    GQuark              fo_xml_node_error_quark             (void);

Get the error quark for FoXmlNode.

If the quark does not yet exist, create it.

Returns : | Quark associated with FoXmlNode errors.

### enum FoXmlNodeError

    typedef enum
    {
      FO_XML_NODE_ERROR_FAILED,
      FO_XML_NODE_ERROR_PARSE_FAILED,
      FO_XML_NODE_ERROR_NO_FILENAME
    } FoXmlNodeError;

### FoXmlNode

    typedef struct _FoXmlNode FoXmlNode;

### fo_xml_node_new ()

    FoXmlNode*          fo_xml_node_new                     (void);

Creates a new FoXmlNode.

Returns : | the newly created FoXmlNode. Use fo_xml_node_unref to free the result.

### fo_xml_node_ref ()

    FoXmlNode*          fo_xml_node_ref                     (FoXmlNode *fo_xml_node);

Make a copy of a FoXmlNode.

`fo_xml_node` : | a FoXmlNode
Returns : | a newly allocated FoXmlNode. This value must be freed using `fo_xml_node_unref()`.

### fo_xml_node_unref ()

    void                fo_xml_node_unref                   (FoXmlNode *fo_xml_node);

Unref and possibly free a FoXmlNode.

`fo_xml_node` : | FoXmlNode.