TyXML – API reference

Building valid XML tree


XHTML
Typesafe constructors and printers for XHTML 1.0 and 1.1 documents
SVG
Typesafe constructors and printers for SVG documents.
HTML5
Typesafe constructors and printers for HTML5 documents.

Common DTD's transcriptions


XHTML_types
XHTML types with variants.
SVG_types
SVG types with variants.
HTML5_types
HTML5 types with variants.

Low-level XML manipulation


XML
Basic functions for construction and manipulation of XML tree.

Functorial interface


XHTML_f
Typesafe constructors for XHTML documents (Functorial interface)
SVG_f
Typesafe constructors for SVG documents (Functorial interface)
HTML5_f
Typesafe constructors for HTML5 documents (Functorial interface)
XML_iter
Basic iterators over XML tree (functorial interface).
XML_print
Printer for XML.

OCamlduce

Common DTD's transcriptions


XHTML_types_duce
This interface corresponds to the XHTML 1.0 Strict DTD, for Ocamlduce.

Helpers


XML_print_duce
Printer for XHTML with Ocamlduce that handles browser specificities properly.
XHTML_duce
OCamlduce printers for XHTML 1.0 and 1.1 documents.

Syntax extension and simple parser


Pa_tyxml
Syntax extension for HTML5, XHTML or SVG tree creation.
Simplexmlparser
Basic camlp4 parser for xml

Indexes

Index of types
Index of exceptions
Index of values
Index of modules
Index of module types