[not loaded]http_sgml_plugin.pl -- Parse of HTML and XML documents for the HTTP client libs
This module provides a plugin for the HTTP client to handle xml, html and sgml files using the SWI-Prolog sgml-parser from library(sgml). Using this library avoids unnecessary copying of data as the sgml-parser reads directly from the stream that established the HTTP connection.
This is a plugin for http_get/3 and http_post/4
- default_markup_type(+MimeType, -ParseOptions)[private]
- State that the HTTP contents should be parsed with load_structure/3 using the returned options. This predicate may be hooked using the multifile predicate markup_type/2.
- merge_options(+Defaults, +GivenOptions, -Options)[private]
- If an option is not in GivenOptions, use the one from Defaults.