| # | Line 142 | Line 142 | ezxml_t ezxml_set_txt(ezxml_t xml, const char *txt); | |
|---|---|---|
| 142 | #define ezxml_set_txt_d(xml, txt) \ | |
| 143 | ezxml_set_flag(ezxml_set_txt(xml, strdup(txt)), EZXML_TXTM) | |
| 144 | ||
| 145 | + | /* add text to the current character content, allocating memory as needed */ |
| 146 | + | ezxml_t ezxml_add_txt(ezxml_t xml, const char *txt); |
| 147 | + | |
| 148 | /* Sets the given tag attribute or adds a new attribute if not found. A value */ | |
| 149 | /* of NULL will remove the specified attribute. Returns the tag given. */ | |
| 150 | ezxml_t ezxml_set_attr(ezxml_t xml, const char *name, const char *value); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |