package ocamlnet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type document =
  1. | Element of string * (string * string) list * document list
  2. | Data of string
type element_class = [
  1. | `Block
  2. | `Essential_block
  3. | `Everywhere
  4. | `Inline
  5. | `None
]
type model_constraint = [
  1. | `Any
  2. | `Block
  3. | `Elements of string list
  4. | `Empty
  5. | `Except of model_constraint * model_constraint
  6. | `Flow
  7. | `Inline
  8. | `Or of model_constraint * model_constraint
  9. | `Special
  10. | `Sub_exclusions of string list * model_constraint
]
type simplified_dtd = (string * (element_class * model_constraint)) list
val html40_dtd : simplified_dtd
val relaxed_html40_dtd : simplified_dtd
val parse_document : ?dtd:simplified_dtd -> ?return_declarations:bool -> ?return_pis:bool -> ?return_comments:bool -> ?case_sensitive:bool -> Lexing.lexbuf -> document list
val parse : ?dtd:simplified_dtd -> ?return_declarations:bool -> ?return_pis:bool -> ?return_comments:bool -> ?case_sensitive:bool -> Netchannels.in_obj_channel -> document list
val decode : ?enc:Netconversion.encoding -> ?subst:(int -> string) -> ?entity_base:[ `Empty | `Html | `Xml ] -> ?lookup:(string -> string) -> ?dtd:simplified_dtd -> document list -> document list
val encode : ?enc:Netconversion.encoding -> ?prefer_name:bool -> ?dtd:simplified_dtd -> document list -> document list
val map_list : (string -> string) -> document list -> document list
type xmap_value =
  1. | Xmap_attribute of string * string * string
  2. | Xmap_data of string option * string
val xmap_list : (xmap_value -> string) -> string option -> document list -> document list
val write : ?dtd:simplified_dtd -> ?xhtml:bool -> Netchannels.out_obj_channel -> document list -> unit
OCaml

Innovation. Community. Security.