package erm_xml

  1. Overview
  2. Docs
type element =
  1. | Xmlelement of string * (string * string) list * element list
  2. | Xmlcdata of string
exception NonXmlelement
exception Expected of string
val decode : string -> string
val encode : string -> string
val attrs_to_string : (string * string) list -> string
val element_to_string : element -> string
val get_tag : element -> string list -> element
val get_tag_full_path : element -> string list -> element
val get_subel : ?path:string list -> element -> element
val get_subels : ?path:string list -> ?tag:string -> element -> element list
val get_attr_s : element -> ?path:string list -> string -> string
val filter_attrs : ('a * string) list -> ('a * string) list
val collect_cdata : element list -> string list -> string
val get_cdata : ?path:string list -> element -> string
val make_element : string -> (string * string) list -> element list -> element
val make_simple_cdata : string -> string -> element
val safe_get_attr_s : element -> ?path:string list -> string -> string
val match_tag : string -> element -> unit
val exists_element : string -> element list -> bool
val find_subtag : element list -> string -> element
val get_tagname : element -> string
val match_xml : element -> string -> (string * string) list -> bool
val mem_xml : element -> string list -> string -> (string * string) list -> bool
val get_by_xmlns : element -> ?path:string list -> ?tag:string -> string -> element
module XmlParser = Xmllexer.M
module X : sig ... end
module S : sig ... end
val parse : (unit -> X.data option) -> element
val parse_stream : Xmllexer.LS.source -> element
val parse_string : string -> element
val parse_document : Pervasives.in_channel -> element
module Serialization : sig ... end
OCaml

Innovation. Community. Security.