module Pxp_dtd:DTD objectssig
..end
The DTD object is a separate container for the formal requirements
of a document. The DTD object is always present in a document,
even when validation is turned off. See Pxp_dtd.dtd
for details about the DTD object.
There are a number of accompanying objects also defined in this
module (e.g. namespace_manager
or dtd_element
).
class namespace_manager :object
..end
val create_namespace_manager : unit -> namespace_manager
namespace_manager
class type namespace_scope =object
..end
namespace_scope
represents the original
namespace declarations found in the XML text.
class namespace_scope_impl :namespace_manager -> namespace_scope option -> (string * string) list ->
namespace_scope
namespace_scope
.
val create_namespace_scope : ?parent:namespace_scope ->
?decl:(string * string) list ->
namespace_manager -> namespace_scope
namespace_scope
class dtd :?swarner:Pxp_core_types.I.symbolic_warnings -> Pxp_core_types.I.collect_warnings -> Pxp_core_types.I.rep_encoding ->
object
..end
class dtd_element :dtd -> string ->
object
..end
class dtd_notation :string -> Pxp_core_types.I.ext_id -> Pxp_core_types.I.rep_encoding ->
object
..end
class proc_instruction :string -> string -> Pxp_core_types.I.rep_encoding ->
object
..end
val create_dtd : ?swarner:Pxp_core_types.I.symbolic_warnings ->
?warner:Pxp_core_types.I.collect_warnings ->
Pxp_core_types.I.rep_encoding -> dtd
let dtd = create_dtd
?swarner:config.swarner
~warner:config.warner
config.encoding
See also Pxp_dtd_parser.create_empty_dtd
, which creates a DTD
from a Pxp_types.config
record.
module Entity:sig
..end