|
libdom
|
#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <sys/uio.h>#include <unistd.h>#include <fcntl.h>#include <libwapcaplet/libwapcaplet.h>#include <dom/dom.h>#include <xmlparser.h>#include <parser.h>#include <errors.h>#include "utils.h"#include "domts.h"Functions | |
| dom_document * | load_xml (const char *file, bool willBeModified) |
| dom_document * | load_html (const char *file, bool willBeModified) |
| dom_document * load_html | ( | const char * | file, |
| bool | willBeModified | ||
| ) |
Load the file as it is a HTML file
| file | The file path |
| willBeModified | Whether this file will be modified, not used |
| dom_document * load_xml | ( | const char * | file, |
| bool | willBeModified | ||
| ) |
Load the file as it is a XML file
| file | The file path |
| willBeModified | Whether this file will be modified, not used |