| dtd/2 | Find or build a DTD for a document type |
| free_dtd/1 | Free a DTD object |
| free_sgml_parser/1 | Destroy a parser |
| load_dtd/2 | Read DTD information from a file |
| load_structure/4 | Parse XML/SGML/HTML data into Prolog term |
| load_sgml_structure/3 | Parse SGML file into Prolog term |
| load_html_structure/3 | Parse HTML file into Prolog term |
| load_xml_structure/3 | Parse XML file into Prolog term |
| load_xhtml_structure/3 | Parse XHTML file into Prolog term |
| new_dtd/2 | Create a DTD object |
| new_sgml_parser/2 | Create a new parser |
| open_dtd/3 | Open a DTD object as an output stream |
| set_sgml_parser/2 | Set parser options (dialect, source, etc.) |
| sgml_parse/2 | Parse the input |
| xml_name/1 | Test atom for valid XML name |
| xml_quote_attribute/2 | Quote text for use as an attribute |
| xml_quote_cdata/2 | Quote text for use as PCDATA |