* xmlDocCopyNode: * @node: the node * @doc: the document * @extended: if 1 do a recursive copy (properties, namespaces and children * when applicable) * if 2 copy properties and namespaces (when applicable) * * Copy a node into another document. * * Returns the copied node or NULL if a memory allocation failed. */
| 4500 | * Returns the copied node or NULL if a memory allocation failed. |
| 4501 | */ |
| 4502 | xmlNodePtr |
| 4503 | xmlDocCopyNode(xmlNodePtr node, xmlDocPtr doc, int extended) { |
| 4504 | xmlNodePtr ret; |
| 4505 | |
| 4506 | ret = xmlStaticCopyNode(node, doc, NULL, extended); |
| 4507 | return(ret); |
| 4508 | } |
| 4509 | |
| 4510 | /** |
| 4511 | * xmlDocCopyNodeList: |
no test coverage detected