| 7082 | */ |
| 7083 | |
| 7084 | int |
| 7085 | xmlTextConcat(xmlNodePtr node, const xmlChar *content, int len) { |
| 7086 | if (node == NULL) |
| 7087 | return(-1); |
| 7088 | |
| 7089 | if ((node->type != XML_TEXT_NODE) && |
| 7090 | (node->type != XML_CDATA_SECTION_NODE) && |
| 7091 | (node->type != XML_COMMENT_NODE) && |
| 7092 | (node->type != XML_PI_NODE)) |
| 7093 | return(-1); |
| 7094 | |
| 7095 | return(xmlTextAddContent(node, content, len)); |
| 7096 | } |
| 7097 | |
| 7098 | /************************************************************************ |
| 7099 | * * |
no test coverage detected