int main()
{
  xmlDoc *doc = xmlNewDoc();
  xmlNode *root = xmlNewNode(NULL, BAD_CAST );
  xmlDocSetRootElement(doc, root);

  xmlNode *node = xmlNewNode(NULL, BAD_CAST );
  xmlAddChild(node, xmlNewText(BAD_CAST ));
  xmlAddChild(root, node);

  xmlSaveFile(, doc);

  xmlFreeDoc(doc);
  xmlCleanupParser();
}