* 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. */
| 2059 | * invalid or a memory allocation failed. |
| 2060 | */ |
| 2061 | xmlNodePtr |
| 2062 | xmlNewNode(xmlNsPtr ns, const xmlChar *name) { |
| 2063 | return(xmlNewDocNode(NULL, ns, name, NULL)); |
| 2064 | } |
| 2065 | |
| 2066 | /** |
| 2067 | * xmlNewNodeEatName: |
no test coverage detected