libdom
Loading...
Searching...
No Matches
load.c File Reference
#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_documentload_xml (const char *file, bool willBeModified)
 
dom_documentload_html (const char *file, bool willBeModified)
 

Function Documentation

◆ load_html()

dom_document * load_html ( const char * file,
bool willBeModified )

Load the file as it is a HTML file

Parameters
fileThe file path
willBeModifiedWhether this file will be modified, not used

◆ load_xml()

dom_document * load_xml ( const char * file,
bool willBeModified )

Load the file as it is a XML file

Parameters
fileThe file path
willBeModifiedWhether this file will be modified, not used