mirror of
https://github.com/zoriya/xmlParser.git
synced 2025-12-06 02:56:10 +00:00
19 lines
321 B
C
19 lines
321 B
C
/*
|
|
** EPITECH PROJECT, 2019
|
|
** xmlparser
|
|
** File description:
|
|
** test_main
|
|
*/
|
|
|
|
#include "xml.h"
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
if (argc != 2)
|
|
return (printf("Usage: %s xml_path\n", argv[0]), 0);
|
|
node *n = xml_parse(argv[1]);
|
|
xml_destroy(n);
|
|
return (0);
|
|
} |