LassoMiscTextNode

## LassoMiscTextNode LassoMiscTextNode |

## Synopsis

    struct              LassoMiscTextNode;
    LassoNode *         lasso_misc_text_node_new            (void);
    LassoMiscTextNode * lasso_misc_text_node_new_with_string
                                                            (const char *content);
    LassoMiscTextNode * lasso_misc_text_node_new_with_xml_node
                                                            (xmlNode *xml_node);
    xmlNode *           lasso_misc_text_node_get_xml_content
                                                            (LassoMiscTextNode *misc_text_node);
    void                lasso_misc_text_node_set_xml_content
                                                            (LassoMiscTextNode *misc_text_node,
                                                             xmlNode *node);

## Description

## Details

### struct LassoMiscTextNode

    struct LassoMiscTextNode {
    	LassoNode parent;

    	/* elements */
    	char *content;

    	char *name;
    	char *ns_href;
    	char *ns_prefix;
    	gboolean text_child;
    };

### lasso_misc_text_node_new ()

    LassoNode *         lasso_misc_text_node_new            (void);

Creates a new LassoMiscTextNode object.

Returns : | a newly created LassoMiscTextNode object

### lasso_misc_text_node_new_with_string ()

    LassoMiscTextNode * lasso_misc_text_node_new_with_string
                                                            (const char *content);

Creates a new LassoMiscTextNode object and initializes it with `content`. Beware that no nodename, so it would create a text child, not an element.

`content` : | the content of newly created LassoMiscTextNode
Returns : | a newly created LassoMiscTextNode object

### lasso_misc_text_node_new_with_xml_node ()

    LassoMiscTextNode * lasso_misc_text_node_new_with_xml_node
                                                            (xmlNode *xml_node);

Creates a new LassoMiscTextNode object and initialize it with `xml_node`.

`xml_node` : | an xmlNode
Returns : | a newly created LassoMiscTextNode object

### lasso_misc_text_node_get_xml_content ()

    xmlNode *           lasso_misc_text_node_get_xml_content
                                                            (LassoMiscTextNode *misc_text_node);

Return the xml content in this node.

`misc_text_node` : | a LassoMiscTextNode
Returns : | an xmlNode or NULL. [transfer none]

### lasso_misc_text_node_set_xml_content ()

    void                lasso_misc_text_node_set_xml_content
                                                            (LassoMiscTextNode *misc_text_node,
                                                             xmlNode *node);

Set the xml content of this LassoMiscTextNode

`misc_text_node` : | a LassoMiscTextNode