schema_parser.mli 346 Bytes
Newer Older
1

2
3
4
5
6
7
8
9
10
11
12
13
14
(** XML Schema Documents parsing *)

open Schema_types
open Schema_xml

  (** 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

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