mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 18:45:19 +03:00
10 lines
217 B
C
10 lines
217 B
C
|
#include <libxml/tree.h>
|
||
|
|
||
|
int main() {
|
||
|
xmlDocPtr doc = xmlNewDoc(BAD_CAST "1.0");
|
||
|
xmlNodePtr root_node = xmlNewNode(NULL, BAD_CAST "root");
|
||
|
xmlDocSetRootElement(doc, root_node);
|
||
|
xmlFreeDoc(doc);
|
||
|
return 0;
|
||
|
}
|