#include <stdio.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
Functions | |
static void | exampleFunc (const char *filename) |
int | main (int argc, char **argv) |
static void exampleFunc | ( | const char * | filename | ) | [static] |
section: Parsing synopsis: Parse and validate an XML file to a tree and free the result purpose: Create a parser context for an XML file, then parse and validate the file, creating a tree, check the validation result and xmlFreeDoc() to free the resulting tree. usage: parse2 test2.xml test: parse2 test2.xml author: Daniel Veillard copy: see Copyright for the status of this software. exampleFunc: : a filename or an URL
Parse and validate the resource and free the resulting tree
Referenced by main().
int main | ( | int | argc, | |
char ** | argv | |||
) |