24#ifndef NETSURF_UTILS_LIBDOM_H_
25#define NETSURF_UTILS_LIBDOM_H_
32#include <dom/bindings/hubbub/parser.h>
33#include <dom/bindings/hubbub/errors.h>
nserror
Enumeration of error codes.
nserror libdom_iterate_child_elements(dom_node *parent, libdom_iterate_cb cb, void *ctx)
dom_node * libdom_find_first_element(dom_node *parent, lwc_string *element_name)
Search children of a node for first named element.
nserror libdom_parse_file(const char *filename, const char *encoding, dom_document **doc)
nserror libdom_hubbub_error_to_nserror(dom_hubbub_error error)
Convert libdom hubbub binding errors to nserrors.
nserror libdom_dump_structure(dom_node *node, FILE *f, int depth)
Walk though a DOM (sub)tree, in depth first order, printing DOM structure.
nserror(* libdom_iterate_cb)(dom_node *node, void *ctx)