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

Function xmlCopyProp

ThirdParty/libxml2/vtklibxml2/tree.c:4123–4126  ·  view source on GitHub ↗

* xmlCopyProp: * @target: the element where the attribute will be grafted * @cur: the attribute * * Create a copy of the attribute. This function sets the parent * pointer of the copy to @target but doesn't set the attribute on * the target element. Users should consider to set the attribute * by calling xmlAddChild afterwards or reset the parent pointer to * NULL. * * Returns the copi

Source from the content-addressed store, hash-verified

4121 * failed.
4122 */
4123xmlAttrPtr
4124xmlCopyProp(xmlNodePtr target, xmlAttrPtr cur) {
4125 return xmlCopyPropInternal(NULL, target, cur);
4126}
4127
4128/**
4129 * xmlCopyPropList:

Callers 1

xmlCopyPropListFunction · 0.85

Calls 1

xmlCopyPropInternalFunction · 0.85

Tested by

no test coverage detected