This is server API (go to client)

Module Eliom_pervasives.​XHTML.​P

module P : 
  XML_sigs.TypedSimplePrinterwith type 'a elt := 'a M.elt
and type doc := M.doc

XHTML (latest Strict) printer. See XML_sigs.​TypedSimplePrinter . This printer try to follow the W3C guidelines for HTML compatibility. Hence the resulting string could be serve as well as application/xhtml+xml or text/html. This however has some limitations.