![]() |
![]() |
![]() |
Lasso Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
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);
typedef struct { LassoNode parent; /* elements */ char *content; char *name; char *ns_href; char *ns_prefix; gboolean text_child; } LassoMiscTextNode;
LassoNode* lasso_misc_text_node_new (void);
Creates a new LassoMiscTextNode object.
Returns : |
a newly created LassoMiscTextNode object |
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.
|
the content of newly created LassoMiscTextNode |
Returns : |
a newly created LassoMiscTextNode object |
LassoMiscTextNode* lasso_misc_text_node_new_with_xml_node (xmlNode *xml_node);
Creates a new LassoMiscTextNode object and initialize it with xml_node
.
|
an xmlNode |
Returns : |
a newly created LassoMiscTextNode object |
xmlNode* lasso_misc_text_node_get_xml_content (LassoMiscTextNode *misc_text_node);
Return the xml content in this node.
|
a LassoMiscTextNode |
Returns : |
an xmlNode or NULL. |