package csvfields

  1. Overview
  2. Docs
type xml =
  1. | Element of string * (string * string) list * xml list
  2. | PCData of string
type error_msg =
  1. | UnterminatedComment
  2. | UnterminatedString
  3. | UnterminatedEntity
  4. | IdentExpected
  5. | CloseExpected
  6. | NodeExpected
  7. | AttributeNameExpected
  8. | AttributeValueExpected
  9. | EndOfTagExpected of string
  10. | EOFExpected
type error_pos = {
  1. eline : int;
  2. eline_start : int;
  3. emin : int;
  4. emax : int;
}
type dtd_child =
  1. | DTDTag of string
  2. | DTDPCData
  3. | DTDOptional of dtd_child
  4. | DTDZeroOrMore of dtd_child
  5. | DTDOneOrMore of dtd_child
  6. | DTDChoice of dtd_child list
  7. | DTDChildren of dtd_child list
type dtd_element_type =
  1. | DTDEmpty
  2. | DTDAny
  3. | DTDChild of dtd_child
type dtd_attr_default =
  1. | DTDDefault of string
  2. | DTDRequired
  3. | DTDImplied
  4. | DTDFixed of string
type dtd_attr_type =
  1. | DTDCData
  2. | DTDNMToken
  3. | DTDEnum of string list
  4. | DTDID
  5. | DTDIDRef
type dtd_item =
  1. | DTDAttribute of string * string * dtd_attr_type * dtd_attr_default
  2. | DTDElement of string * dtd_element_type
type dtd = dtd_item list
OCaml

Innovation. Community. Security.