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

Function xmlNewNode

ThirdParty/libxml2/vtklibxml2/tree.c:2061–2064  ·  view source on GitHub ↗

* xmlNewNode: * @ns: namespace (optional) * @name: the node name * * Create an element node. * * Use of this function is DISCOURAGED in favor of xmlNewDocNode. * * Returns a pointer to the new node object or NULL if arguments are * invalid or a memory allocation failed. */

Source from the content-addressed store, hash-verified

2059 * invalid or a memory allocation failed.
2060 */
2061xmlNodePtr
2062xmlNewNode(xmlNsPtr ns, const xmlChar *name) {
2063 return(xmlNewDocNode(NULL, ns, name, NULL));
2064}
2065
2066/**
2067 * xmlNewNodeEatName:

Callers 8

openFileMethod · 0.85
getXMLNodeMethod · 0.85
xmlParseCRNG_datatypeFunction · 0.85
xmlParseCRNG_primaryFunction · 0.85
xmlParseCRNG_particleFunction · 0.85
InsertNewMethod · 0.85

Calls 1

xmlNewDocNodeFunction · 0.85

Tested by

no test coverage detected