MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlNodeAddContent

Function xmlNodeAddContent

ThirdParty/libxml2/vtklibxml2/tree.c:5865–5868  ·  view source on GitHub ↗

* xmlNodeAddContent: * @cur: the node being modified * @content: extra content * * Append the extra substring to the node content. * NOTE: In contrast to xmlNodeSetContent(), @content is supposed to be * raw text, so unescaped XML special chars are allowed, entity * references are not supported. * * Returns 0 on success, 1 on error, -1 if a memory allocation failed. */

Source from the content-addressed store, hash-verified

5863 * Returns 0 on success, 1 on error, -1 if a memory allocation failed.
5864 */
5865int
5866xmlNodeAddContent(xmlNodePtr cur, const xmlChar *content) {
5867 return(xmlNodeAddContentLen(cur, content, xmlStrlen(content)));
5868}
5869
5870/**
5871 * xmlTextMerge:

Callers 2

xmlParseCRNG_datatypeFunction · 0.85

Calls 2

xmlNodeAddContentLenFunction · 0.85
xmlStrlenFunction · 0.85

Tested by

no test coverage detected