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

Function xmlCopyNodeList

ThirdParty/libxml2/vtklibxml2/tree.c:4536–4539  ·  view source on GitHub ↗

* xmlCopyNodeList: * @node: the first node in the list. * * Copy a node list and all children. * * Use of this function is DISCOURAGED in favor of xmlDocCopyNodeList. * * Returns the head of the copied list or NULL if a memory * allocation failed. */

Source from the content-addressed store, hash-verified

4534 * allocation failed.
4535 */
4536xmlNodePtr xmlCopyNodeList(xmlNodePtr node) {
4537 xmlNodePtr ret = xmlStaticCopyNodeList(node, NULL, NULL);
4538 return(ret);
4539}
4540
4541#if defined(LIBXML_TREE_ENABLED)
4542/**

Callers 1

InsertMethod · 0.85

Calls 1

xmlStaticCopyNodeListFunction · 0.85

Tested by

no test coverage detected