schema_xml.mli 992 Bytes
Newer Older
1
2
open Encodings

3
4
5
module Node: Set.OrderedType
type node = Node.t

6
val node_of_uri: string -> node
7
8
9
10
11
12

val _may_attr: string -> node -> Utf8.t option
val _is_attr: string -> node -> string -> bool
val _attr: string -> node -> Utf8.t
val _may_elem: string -> node -> node option
val _elems: string -> node -> node list
13
val _filter_elems: string list -> node -> node list
14
15
16
17
18
  
val _line: node -> int
  
val _iter_nodes: node -> (node -> unit) -> unit
val _iter_elems: node -> (node -> string -> unit) -> unit
19
val _fold_elems: node -> 'a -> ('a -> node -> string -> 'a) -> 'a
20
21
22
23
24
val _tag: node -> string
val _has_tag: node -> (string -> bool) -> bool
val _namespaces: node -> (string * string) list
  
val _find: (node -> bool) -> node -> node
25

26
27
28

val has_xsd_prefix : Utf8.t -> bool
val schema_ns_prefixes: (Utf8.t * Utf8.t) list
29

30
31
32
33
34
val _resolve_qname: node -> Utf8.t -> Ns.qname
val _may_qname_attr: string -> node -> Ns.qname option
val _qname_attr: string -> node -> Ns.qname

val xsd: Ns.t
35
val xsi: Ns.t