2
* Copyright (C) 2005 Vincent Balat
3
* Laboratoire PPS - CNRS Universit� Paris Diderot
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU Lesser General Public License as published by
7
* the Free Software Foundation, with linking exception;
8
* either version 2.1 of the License, or (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU Lesser General Public License for more details.
15
* You should have received a copy of the GNU Lesser General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
(** XHTML "compact printing" (no pretty printing, no line breaks added) *)
22
(** Ocsigen's compact printer for xhtml. [html_compat] is an option to set
23
if you want to print with a syntax closer to html (not xml).
26
?version:[< XHTML.M.doctypes > `XHTML_01_01 ] ->
27
?width:int -> ?encode:(string -> string) ->
29
[ `Html ] XHTML.M.elt -> string Ocsigen_stream.t
31
(** Ocsigen's compact printer for xhtml portions.
32
[html_compat] is an option to set
33
if you want to print with a syntax closer to html (not xml). *)
34
val xhtml_list_stream :
35
?version:[< XHTML.M.doctypes > `XHTML_01_01 ] ->
36
?width:int -> ?encode:(string -> string) ->
38
'a XHTML.M.elt list -> string Ocsigen_stream.t