schema_parser.mli 461 Bytes
Newer Older
1

2
3
4
5
6
(** XML Schema Documents parsing *)

open Schema_types
open Schema_xml

7
(*
8
9
10
11
12
  (** parse a schema from a PXP source *)
val parse_schema: Pxp_types.source -> schema

  (** parse a schema from a PXP node *)
val schema_of_node: pxp_node -> schema
13
*)
14
15
16

  (** shortand for "parse_schema (Pxp_types.from_file <fname>)" *)
val schema_of_file: string -> schema
17

18
19
20
  (** shortand for "parse_schema (Pxp_types.from_string <fname>)" *)
val schema_of_string: string -> schema