| 1 |
|
|
| 2 |
class schema_extension : |
type pxp_node = |
| 3 |
object ('a) |
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node |
| 4 |
method base : string |
type pxp_document = |
| 5 |
method clone : 'a |
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.document |
| 6 |
method default : string |
|
| 7 |
method find_attributes : schema_extension Pxp_document.node list |
(** create a new Pxp configuration. This configuration will be namespace |
| 8 |
method find_complexType : string -> schema_extension Pxp_document.node |
* enabled with a brand new namespace manager containing "xsi" and "xsd" |
| 9 |
method find_facets : schema_extension Pxp_document.node list |
* schema prefixes declaration *) |
| 10 |
method find_global_attribute : string -> schema_extension Pxp_document.node |
val new_xsd_config : unit -> Pxp_types.config |
| 11 |
method find_global_element : string -> schema_extension Pxp_document.node |
|
| 12 |
method find_simpleType : string -> schema_extension Pxp_document.node |
val pxp_document_of : |
| 13 |
method find_term : schema_extension Pxp_document.node |
?config: Pxp_types.config -> Pxp_types.source -> pxp_document |
| 14 |
method find_terms : schema_extension Pxp_document.node list |
val pxp_node_of: |
| 15 |
method fixed : string |
?config: Pxp_types.config -> Pxp_types.source -> pxp_node |
| 16 |
method has_attribute : string -> bool |
val pxp_stream_of_file : |
| 17 |
method has_element : string -> bool |
?config: Pxp_types.config -> string -> Pxp_yacc.event Stream.t |
|
method has_no_term : bool |
|
|
method maxOccurs : string |
|
|
method minOccurs : string |
|
|
method mixed : bool |
|
|
method name : string |
|
|
method node : schema_extension Pxp_document.node |
|
|
method nth_element : int -> schema_extension Pxp_document.node |
|
|
method prohibited : bool |
|
|
method ref : string |
|
|
method required : bool |
|
|
method set_node : schema_extension Pxp_document.node -> unit |
|
|
method sub_elements : schema_extension Pxp_document.node list |
|
|
method typ : string |
|
|
method value : string |
|
|
end |
|
| 18 |
|
|
|
val pxp_tree_of : string -> schema_extension Pxp_document.document |
|
|
val pxp_stream_of_file : string -> Pxp_yacc.event Stream.t |
|
| 19 |
val pxp_stream_of_value : Value.t -> Pxp_yacc.event Stream.t |
val pxp_stream_of_value : Value.t -> Pxp_yacc.event Stream.t |
| 20 |
|
|
| 21 |
|
module Pxp_helpers: |
| 22 |
|
sig |
| 23 |
|
exception PxpHelpers of exn |
| 24 |
|
|
| 25 |
|
val _tag_name : pxp_node -> string |
| 26 |
|
|
| 27 |
|
val _has_attribute : string -> pxp_node -> bool |
| 28 |
|
|
| 29 |
|
(* test if exists a child element which name is given *) |
| 30 |
|
val _has_element : string -> pxp_node -> bool |
| 31 |
|
|
| 32 |
|
(* test if exists a child element which name is one of the given *) |
| 33 |
|
val _has_element': string list -> pxp_node -> bool |
| 34 |
|
|
| 35 |
|
val _attribute : string -> pxp_node -> string |
| 36 |
|
|
| 37 |
|
(* find the first child element which have the given name *) |
| 38 |
|
val _element : string -> pxp_node -> pxp_node |
| 39 |
|
|
| 40 |
|
(* find the first child element which name is one of the given names *) |
| 41 |
|
val _element': string list -> pxp_node -> pxp_node |
| 42 |
|
|
| 43 |
|
(* find all child elements which have a given name *) |
| 44 |
|
val _elements: string -> pxp_node -> pxp_node list |
| 45 |
|
|
| 46 |
|
(* find all child elements which name is one of the given names *) |
| 47 |
|
val _elements': string list -> pxp_node -> pxp_node list |
| 48 |
|
end |
| 49 |
|
|
| 50 |
|
(* namespace handling *) |
| 51 |
|
|
| 52 |
|
val has_xsd_prefix : string -> bool |
| 53 |
|
val schema_ns_prefixes: (string * string) list |
| 54 |
|
val xsd_namespace : string |
| 55 |
|
val xsi_namespace : string |
| 56 |
|
val xsd_prefix : string |
| 57 |
|
val xsi_prefix : string |
| 58 |
|
val namespace_split : string -> string * string |
| 59 |
|
|
| 60 |
(* misc stuff *) |
(* misc stuff *) |
| 61 |
|
|
| 62 |
val string_of_pxp_event : Pxp_yacc.event -> string |
val string_of_pxp_event : Pxp_yacc.event -> string |