3.4 DTD-Handling
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog SGML/XML parser
        • Predicate Reference
          • DTD-Handling
            • new_dtd/2
            • free_dtd/1
            • load_dtd/2
            • load_dtd/3
            • open_dtd/3
            • dtd/2
            • dtd_property/2
            • The DOCTYPE declaration
Availability::- use_module(library(sgml)).(can be autoloaded)
open_dtd(+DTD, +Options, -OutStream)
Open a DTD as an output stream. See load_dtd/2 for an example. Defined options are:
dialect(Dialect)
Define the DTD dialect. Default is sgml. Using xml or xmlns processes the DTD case-sensitive.