9.1 Writing documents
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog SGML/XML parser
Writing markup
Writing documents
xml_write/3
sgml_write/3
html_write/3
Availability:
:- use_module(
library(sgml_write)
).
(can be autoloaded)
sgml_write
(
+Stream, +Term, +Options
)
Write the SGML
DOCTYPE
header and the content of the document as represented by
Term
to
Stream
. The
Options
are described with
xml_write/3
.