* 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
| 4121 | * failed. |
| 4122 | */ |
| 4123 | xmlAttrPtr |
| 4124 | xmlCopyProp(xmlNodePtr target, xmlAttrPtr cur) { |
| 4125 | return xmlCopyPropInternal(NULL, target, cur); |
| 4126 | } |
| 4127 | |
| 4128 | /** |
| 4129 | * xmlCopyPropList: |
no test coverage detected