Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > d9c1887ff364dc87e282490223567c41 > files > 156

ocaml-pxp-1.2.1-1mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Pxp_document.html">
<link rel="next" href="Pxp_tree_parser.html">
<link rel="Up" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of class types" rel=Appendix href="index_class_types.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Pxp_types" rel="Chapter" href="Pxp_types.html">
<link title="Pxp_document" rel="Chapter" href="Pxp_document.html">
<link title="Pxp_dtd" rel="Chapter" href="Pxp_dtd.html">
<link title="Pxp_tree_parser" rel="Chapter" href="Pxp_tree_parser.html">
<link title="Pxp_core_types" rel="Chapter" href="Pxp_core_types.html">
<link title="Pxp_ev_parser" rel="Chapter" href="Pxp_ev_parser.html">
<link title="Pxp_event" rel="Chapter" href="Pxp_event.html">
<link title="Pxp_dtd_parser" rel="Chapter" href="Pxp_dtd_parser.html">
<link title="Pxp_codewriter" rel="Chapter" href="Pxp_codewriter.html">
<link title="Pxp_marshal" rel="Chapter" href="Pxp_marshal.html">
<link title="Pxp_yacc" rel="Chapter" href="Pxp_yacc.html">
<link title="Pxp_reader" rel="Chapter" href="Pxp_reader.html">
<link title="Intro_trees" rel="Chapter" href="Intro_trees.html">
<link title="Intro_extensions" rel="Chapter" href="Intro_extensions.html">
<link title="Intro_namespaces" rel="Chapter" href="Intro_namespaces.html">
<link title="Intro_events" rel="Chapter" href="Intro_events.html">
<link title="Intro_resolution" rel="Chapter" href="Intro_resolution.html">
<link title="Intro_getting_started" rel="Chapter" href="Intro_getting_started.html">
<link title="Intro_advanced" rel="Chapter" href="Intro_advanced.html">
<link title="Intro_preprocessor" rel="Chapter" href="Intro_preprocessor.html">
<link title="Example_readme" rel="Chapter" href="Example_readme.html"><title>PXP Reference : Pxp_dtd</title>
</head>
<body>
<div class="navbar"><a href="Pxp_document.html">Previous</a>
&nbsp;<a href="index.html">Up</a>
&nbsp;<a href="Pxp_tree_parser.html">Next</a>
</div>
<center><h1>Module <a href="type_Pxp_dtd.html">Pxp_dtd</a></h1></center>
<br>
<pre><span class="keyword">module</span> Pxp_dtd: <code class="code"><span class="keyword">sig</span></code> <a href="Pxp_dtd.html">..</a> <code class="code"><span class="keyword">end</span></code></pre>DTD objects 
<p>

    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 <a href="Pxp_dtd.dtd.html"><code class="code"><span class="constructor">Pxp_dtd</span>.dtd</code></a>
    for details about the DTD object.
<p>

    There are a number of accompanying objects also defined in this
    module (e.g. <code class="code">namespace_manager</code> or <code class="code">dtd_element</code>).<br>
<hr width="100%">
<br>
<br>
<pre><span class="keyword">class</span> <a name="TYPEnamespace_manager"></a><a href="Pxp_dtd.namespace_manager.html">namespace_manager</a> : <code class="type"></code><code class="code"><span class="keyword">object</span></code> <a href="Pxp_dtd.namespace_manager.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><div class="info">
This class manages mappings from URIs to normalized prefixes.
</div>
<pre><span class="keyword">val</span> <a name="VALcreate_namespace_manager"></a>create_namespace_manager : <code class="type">unit -> <a href="Pxp_dtd.namespace_manager.html">namespace_manager</a></code></pre><div class="info">
Preferred way of creating a <code class="code">namespace_manager</code><br>
</div>
<pre><span class="keyword">class type</span> <a name="TYPEnamespace_scope"></a><a href="Pxp_dtd.namespace_scope.html">namespace_scope</a> = <code class="code"><span class="keyword">object</span></code> <a href="Pxp_dtd.namespace_scope.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><div class="info">
The recursive class type <code class="code">namespace_scope</code> represents the original
 namespace declarations found in the XML text.
</div>
<pre><span class="keyword">class</span> <a name="TYPEnamespace_scope_impl"></a><a href="Pxp_dtd.namespace_scope_impl.html">namespace_scope_impl</a> : <code class="type"><a href="Pxp_dtd.namespace_manager.html">namespace_manager</a> -> <a href="Pxp_dtd.namespace_scope.html">namespace_scope</a> option -> (string * string) list -> </code><code class="type"><a href="Pxp_dtd.namespace_scope.html">namespace_scope</a></code></pre><div class="info">
An implementation of <code class="code">namespace_scope</code>.
</div>
<pre><span class="keyword">val</span> <a name="VALcreate_namespace_scope"></a>create_namespace_scope : <code class="type">?parent:<a href="Pxp_dtd.namespace_scope.html">namespace_scope</a> -><br>       ?decl:(string * string) list -><br>       <a href="Pxp_dtd.namespace_manager.html">namespace_manager</a> -> <a href="Pxp_dtd.namespace_scope.html">namespace_scope</a></code></pre><div class="info">
Preferred way of creating a <code class="code">namespace_scope</code><br>
</div>
<pre><span class="keyword">class</span> <a name="TYPEdtd"></a><a href="Pxp_dtd.dtd.html">dtd</a> : <code class="type">?swarner:<a href="Pxp_types.html#TYPEsymbolic_warnings">Pxp_types.symbolic_warnings</a> -> <a href="Pxp_types.html#TYPEcollect_warnings">Pxp_types.collect_warnings</a> -> <a href="Pxp_types.html#TYPErep_encoding">Pxp_types.rep_encoding</a> -> </code><code class="code"><span class="keyword">object</span></code> <a href="Pxp_dtd.dtd.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><div class="info">
DTD objects have two purposes: They are containers for global declarations that apply to the
         whole XML document. This includes the character set, the
         standalone declaration, and all declaration that can appear
         in the "DTD part" of a document., Also, they express formal constraints the document must fulfill
         such as validity, or (less ambitious) well-formedness.
      Normally, programmers neither need to create such objects, nor to
      fill them with data, as the parser already does this.
</div>
<pre><span class="keyword">class</span> <a name="TYPEdtd_element"></a><a href="Pxp_dtd.dtd_element.html">dtd_element</a> : <code class="type"><a href="Pxp_dtd.dtd.html">dtd</a> -> string -> </code><code class="code"><span class="keyword">object</span></code> <a href="Pxp_dtd.dtd_element.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><div class="info">
A single element declaration that can be added to the DTD object.
</div>
<pre><span class="keyword">class</span> <a name="TYPEdtd_notation"></a><a href="Pxp_dtd.dtd_notation.html">dtd_notation</a> : <code class="type">string -> <a href="Pxp_types.html#TYPEext_id">Pxp_types.ext_id</a> -> <a href="Pxp_types.html#TYPErep_encoding">Pxp_types.rep_encoding</a> -> </code><code class="code"><span class="keyword">object</span></code> <a href="Pxp_dtd.dtd_notation.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><div class="info">
A single notation declaration that can be added to the DTD object.
</div>
<pre><span class="keyword">class</span> <a name="TYPEproc_instruction"></a><a href="Pxp_dtd.proc_instruction.html">proc_instruction</a> : <code class="type">string -> string -> <a href="Pxp_types.html#TYPErep_encoding">Pxp_types.rep_encoding</a> -> </code><code class="code"><span class="keyword">object</span></code> <a href="Pxp_dtd.proc_instruction.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><div class="info">
A single processing instruction occuring in DTD scope.
</div>
<pre><span class="keyword">val</span> <a name="VALcreate_dtd"></a>create_dtd : <code class="type">?swarner:<a href="Pxp_types.html#TYPEsymbolic_warnings">Pxp_types.symbolic_warnings</a> -><br>       ?warner:<a href="Pxp_types.html#TYPEcollect_warnings">Pxp_types.collect_warnings</a> -><br>       <a href="Pxp_types.html#TYPErep_encoding">Pxp_types.rep_encoding</a> -> <a href="Pxp_dtd.dtd.html">dtd</a></code></pre><div class="info">
Preferred way of creating a DTD. Example:
 <pre></pre><code class="code">&nbsp;<span class="keyword">let</span>&nbsp;dtd&nbsp;=&nbsp;create_dtd&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;?swarner:config.swarner<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;~warner:config.warner<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;config.encoding</code><pre></pre>
<p>

 See also <a href="Pxp_dtd_parser.html#VALcreate_empty_dtd"><code class="code"><span class="constructor">Pxp_dtd_parser</span>.create_empty_dtd</code></a>, which creates a DTD
 from a <a href="Pxp_types.html#TYPEconfig"><code class="code"><span class="constructor">Pxp_types</span>.config</code></a> record.<br>
</div>
<pre><span class="keyword">module</span> <a href="Pxp_dtd.Entity.html">Entity</a>: <code class="code"><span class="keyword">sig</span></code> <a href="Pxp_dtd.Entity.html">..</a> <code class="code"><span class="keyword">end</span></code></pre><div class="info">
Useful properties of entities: The following submodule exports all 
 stable properties of the entity classes.
</div>
<br>
<br>
</body></html>