package pxp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type config = Pxp_types.config = {
  1. warner : Pxp_types.collect_warnings;
  2. swarner : Pxp_types.symbolic_warnings option;
  3. enable_pinstr_nodes : bool;
  4. enable_comment_nodes : bool;
  5. enable_super_root_node : bool;
  6. drop_ignorable_whitespace : bool;
  7. encoding : Pxp_types.rep_encoding;
  8. recognize_standalone_declaration : bool;
  9. store_element_positions : bool;
  10. idref_pass : bool;
  11. validate_by_dfa : bool;
  12. accept_only_deterministic_models : bool;
  13. disable_content_validation : bool;
  14. name_pool : Pxp_core_types.I.pool;
  15. enable_name_pool_for_element_types : bool;
  16. enable_name_pool_for_attribute_names : bool;
  17. enable_name_pool_for_attribute_values : bool;
  18. enable_name_pool_for_pinstr_targets : bool;
  19. enable_namespace_processing : Pxp_dtd.namespace_manager option;
  20. escape_contents : (Pxp_lexer_types.token -> Pxp_entity_manager.entity_manager -> string) option;
  21. escape_attributes : (Pxp_lexer_types.token -> int -> Pxp_entity_manager.entity_manager -> string) option;
  22. debugging_mode : bool;
}
val default_config : config
val default_namespace_config : config
val from_channel : ?alt:Pxp_reader.resolver list -> ?system_id:string -> ?fixenc:Pxp_types.encoding -> ?id:Pxp_types.ext_id -> ?system_encoding:Pxp_types.encoding -> Stdlib.in_channel -> source
val from_string : ?alt:Pxp_reader.resolver list -> ?system_id:string -> ?fixenc:Pxp_types.encoding -> string -> source
val from_obj_channel : ?alt:Pxp_reader.resolver list -> ?system_id:string -> ?fixenc:Pxp_types.encoding -> ?id:Pxp_types.ext_id -> ?system_encoding:Pxp_types.encoding -> Netchannels.in_obj_channel -> source
val from_file : ?alt:Pxp_reader.resolver list -> ?system_encoding:Pxp_types.encoding -> ?enc:Pxp_types.encoding -> string -> source
exception ID_not_unique
class type !'a index = object ... end
class !'a hash_index : object ... end
val default_extension : 'a Pxp_document.node Pxp_document.extension as 'a
val default_namespace_spec : 'a Pxp_document.node Pxp_document.extension as 'a Pxp_document.spec
val parse_document_entity : ?transform_dtd:(Pxp_dtd.dtd -> Pxp_dtd.dtd) -> ?id_index:'a Pxp_document.node Pxp_document.extension as 'a index -> config -> source -> 'a Pxp_document.spec -> 'a Pxp_document.document
val parse_wfdocument_entity : ?transform_dtd:(Pxp_dtd.dtd -> Pxp_dtd.dtd) -> config -> source -> 'a Pxp_document.node Pxp_document.extension as 'a Pxp_document.spec -> 'a Pxp_document.document
val parse_content_entity : ?id_index:'a Pxp_document.node Pxp_document.extension as 'a index -> config -> source -> Pxp_dtd.dtd -> 'a Pxp_document.spec -> 'a Pxp_document.node
val parse_dtd_entity : config -> source -> Pxp_dtd.dtd
val extract_dtd_from_document_entity : config -> source -> Pxp_dtd.dtd
OCaml

Innovation. Community. Security.