package xml-light

  1. Overview
  2. Docs
Xml-Light is a minimal XML parser & printer for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

xml-light-2.5.tbz
sha256=f58c2b3db70ad1ba080b0d306ae32f82ccbb95dabb92c599cdc467d1e44e003d
sha512=fec6b83f8342a37bdad0fc745032f1faa57b359365ab53c2376fb031613a83a3139766f2d646a9b9b8d67da25252f2499a03de4caaef7bd8738f9b183ef84b6e

doc/xml-light/Xml_lexer/index.html

Module Xml_lexerSource

Sourcetype error =
  1. | EUnterminatedComment
  2. | EUnterminatedString
  3. | EIdentExpected
  4. | ECloseExpected
  5. | ENodeExpected
  6. | EAttributeNameExpected
  7. | EAttributeValueExpected
  8. | EUnterminatedEntity
Sourcetype dtd_error =
  1. | EInvalidDTDDecl
  2. | EInvalidDTDTag
  3. | EDTDItemExpected
  4. | EInvalidDTDElement
  5. | EInvalidDTDAttribute
Sourceexception Error of error
Sourceexception DTDError of dtd_error
Sourcetype dtd_decl =
  1. | DTDFile of string
  2. | DTDData of Xml_light_types.dtd
Sourcetype token =
  1. | Tag of string * (string * string) list * bool
  2. | PCData of string
  3. | Endtag of string
  4. | DocType of string * dtd_decl
  5. | Eof
Sourcetype pos = int * int * int * int
Sourceval init : Lexing.lexbuf -> unit
Sourceval close : Lexing.lexbuf -> unit
Sourceval token : Lexing.lexbuf -> token
Sourceval restore : pos -> unit
Sourceval error_pos_of_pos : pos -> Xml_light_errors.error_pos