* xmlNewPI: * @name: the processing instruction target * @content: the PI content (optional) * * Create a processing instruction node. * * Use of this function is DISCOURAGED in favor of xmlNewDocPI. * * Returns a pointer to the new node object or NULL if arguments are * invalid or a memory allocation failed. */
| 2042 | * invalid or a memory allocation failed. |
| 2043 | */ |
| 2044 | xmlNodePtr |
| 2045 | xmlNewPI(const xmlChar *name, const xmlChar *content) { |
| 2046 | return(xmlNewDocPI(NULL, name, content)); |
| 2047 | } |
| 2048 | |
| 2049 | /** |
| 2050 | * xmlNewNode: |
nothing calls this directly
no test coverage detected