libwget-xml(3) | wget2 | libwget-xml(3) |
libwget-xml
int wget_xml_parse_buffer (const char *buf,
wget_xml_callback_t callback, void *user_ctx, int hints)
void wget_html_parse_buffer (const char *buf, wget_xml_callback_t
callback, void *user_ctx, int hints)
void wget_xml_parse_file (const char *fname, wget_xml_callback_t
callback, void *user_ctx, int hints)
void wget_html_parse_file (const char *fname, wget_xml_callback_t
callback, void *user_ctx, int hints)
Parameters:
This function scans the XML input from buf and calls callback for each token found. user_ctx is a user-defined context variable and given to each call of callback.
hints may be 0 or any combination of XML_HINT_REMOVE_EMPTY_CONTENT and XML_HINT_HTML.
XML_HINT_REMOVE_EMPTY_CONTENT reduces the number of calls to callback by ignoring empty content and superfluous spaces.
XML_HINT_HTML turns on HTML scanning.
Parameters:
Convenience function that calls wget_xml_parse_buffer() with HTML parsing turned on.
Parameters:
Convenience function that calls wget_xml_parse_buffer() with the file content.
If fname is -, the data is read from stdin.
Parameters:
Convenience function that calls wget_xml_parse_file() with HTML parsing turned on.
If fname is -, the data is read from stdin.
Generated automatically by Doxygen for wget2 from the source code.
Thu May 17 2018 | Version 1.99.1 |