mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +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;
|
||
|
}
|