2.1 ‘Goodies' Predicates
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog SGML/XML parser
        • Bluffer's Guide
          • ‘Goodies' Predicates
            • load_sgml/3
            • load_xml/3
            • load_html/3
Availability::- use_module(library(sgml)).(can be autoloaded)
Sourceload_html(+Source, -ListOfContent, :Options)
Calls load_structure/3 with the given Options, using the default options dialect(HTMLDialect), where HTMLDialect is html4 or html5 (default), depending on the Prolog flag html_dialect. Both imply the option shorttag(false). The option dtd(DTD) is passed, where DTD is the HTML DTD as obtained using dtd(html, DTD). See dtd/2.