sig
module StringMap :
sig
type key = string
type +'a t
val empty : 'a t
val is_empty : 'a t -> bool
val mem : key -> 'a t -> bool
val add : key -> 'a -> 'a t -> 'a t
val singleton : key -> 'a -> 'a t
val remove : key -> 'a t -> 'a t
val merge :
(key -> 'a option -> 'b option -> 'c option) -> 'a t -> 'b t -> 'c t
val compare : ('a -> 'a -> int) -> 'a t -> 'a t -> int
val equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool
val iter : (key -> 'a -> unit) -> 'a t -> unit
val fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val for_all : (key -> 'a -> bool) -> 'a t -> bool
val exists : (key -> 'a -> bool) -> 'a t -> bool
val filter : (key -> 'a -> bool) -> 'a t -> 'a t
val partition : (key -> 'a -> bool) -> 'a t -> 'a t * 'a t
val cardinal : 'a t -> int
val bindings : 'a t -> (key * 'a) list
val min_binding : 'a t -> key * 'a
val max_binding : 'a t -> key * 'a
val choose : 'a t -> key * 'a
val split : key -> 'a t -> 'a t * 'a option * 'a t
val find : key -> 'a t -> 'a
val map : ('a -> 'b) -> 'a t -> 'b t
val mapi : (key -> 'a -> 'b) -> 'a t -> 'b t
end
type ext_id =
System of string
| Public of (string * string)
| Anonymous
| Private of Pxp_core_types.A.private_id
and private_id
type resolver_id = {
rid_private : Pxp_core_types.A.private_id option;
rid_public : string option;
rid_system : string option;
rid_system_base : string option;
}
type dtd_id =
External of Pxp_core_types.A.ext_id
| Derived of Pxp_core_types.A.ext_id
| Internal
type content_model_type =
Unspecified
| Empty
| Any
| Mixed of Pxp_core_types.A.mixed_spec list
| Regexp of Pxp_core_types.A.regexp_spec
and mixed_spec = MPCDATA | MChild of string
and regexp_spec =
Optional of Pxp_core_types.A.regexp_spec
| Repeated of Pxp_core_types.A.regexp_spec
| Repeated1 of Pxp_core_types.A.regexp_spec
| Alt of Pxp_core_types.A.regexp_spec list
| Seq of Pxp_core_types.A.regexp_spec list
| Child of string
type att_type =
A_cdata
| A_id
| A_idref
| A_idrefs
| A_entity
| A_entities
| A_nmtoken
| A_nmtokens
| A_notation of string list
| A_enum of string list
type att_default =
D_required
| D_implied
| D_default of string
| D_fixed of string
type att_value = Value of string | Valuelist of string list | Implied_value
type pool
end