#include "xml/from-txt.h"
#include "xml/dumpnode.h"
#include "xml/gerror.h"
#include <string.h>

#define ___ {
#define ____ }

int
main (int argc, char** argv)
{
    xml_g_set_prgname (argv[0]); 

    if (argc < 2)
    
{
	g_printerr ("> %s filename\n"
		   "\t the program reads an xml text to its internal format\n"
		   "\t and prints it to filename.out.xml from that format\n",
		    g_get_prgname());
	return 1;
    }
___ xml_GNode* node; GError* error = 0; node = xml_g_markup_parse_file (0, argv[1], &error); if (error) xml_g_show_error (&error, "after parsing file:\n\t'%s'", argv[1]); ___ GString* dump = xml_tree_node_to_xml (node, 0); if (! dump || ! dump->str) g_error ("could not dump tree from internals"); xml_g_string_to_file (dump, 0); g_string_free (dump, 1); return 0; ____;____; }
/* 
   Local variables:
   c-file-style: "stroustrup"
   End:
 */