<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 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 : Index of class methods</title> </head> <body> <center><h1>Index of class methods</h1></center> <table> <tr><td align="left"><br>A</td></tr> <tr><td><a href="Pxp_reader.resolver.html#METHODactive_id">active_id</a> [<a href="Pxp_reader.resolver.html">Pxp_reader.resolver</a>]</td> <td><div class="info"> Returns the actually used resolver ID. </div> </td></tr> <tr><td><a href="Pxp_tree_parser.index.html#METHODadd">add</a> [<a href="Pxp_tree_parser.index.html">Pxp_tree_parser.index</a>]</td> <td><div class="info"> Add the passed node to the index. </div> </td></tr> <tr><td><a href="Pxp_tree_parser.hash_index.html#METHODadd">add</a> [<a href="Pxp_tree_parser.hash_index.html">Pxp_tree_parser.hash_index</a>]</td> <td><div class="info"> Add the passed node to the index. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd_element.html#METHODadd_attribute">add_attribute</a> [<a href="Pxp_dtd.dtd_element.html">Pxp_dtd.dtd_element</a>]</td> <td><div class="info"> <code class="code">add_attribute name <span class="keyword">type</span> default extdecl</code>: add an attribute declaration for an attribute with the given name, type, and default value. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODadd_element">add_element</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> add the given element declaration to this DTD. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODadd_gen_entity">add_gen_entity</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> <code class="code">add_gen_entity e extdecl</code>: add the entity <code class="code">e</code> as general entity to this DTD (general entities are those represented by <code class="code"><span class="keywordsign">&</span>name;</code>). </div> </td></tr> <tr><td><a href="Pxp_dtd.namespace_manager.html#METHODadd_namespace">add_namespace</a> [<a href="Pxp_dtd.namespace_manager.html">Pxp_dtd.namespace_manager</a>]</td> <td><div class="info"> <code class="code">add_namespace np uri</code>: adds a new namespace to the object. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODadd_node">add_node</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <b>Deprecated</b>! Use <code class="code">append_node</code> instead. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODadd_notation">add_notation</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> add the given notation to this DTD. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODadd_par_entity">add_par_entity</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> add the given entity as parameter entity to this DTD (parameter entities are those represented by %name;). </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODadd_pinstr">add_pinstr</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> add the given processing instruction to this DTD. </div> </td></tr> <tr><td><a href="Pxp_document.document.html#METHODadd_pinstr">add_pinstr</a> [<a href="Pxp_document.document.html">Pxp_document.document</a>]</td> <td><div class="info"> Adds a processing instruction to the document container. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODadd_pinstr">add_pinstr</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">add_pinstr pi</code>: Adds the processing instruction <code class="code">pi</code> to the set of processing instructions attached to this node. </div> </td></tr> <tr><td><a href="Pxp_dtd.namespace_manager.html#METHODadd_uri">add_uri</a> [<a href="Pxp_dtd.namespace_manager.html">Pxp_dtd.namespace_manager</a>]</td> <td><div class="info"> <code class="code">add_uri np uri</code>: adds <code class="code">uri</code> as alias URI to the namespace identified by the normprefix <code class="code">np</code> (see above for detailed semantics). </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd_element.html#METHODallow_arbitrary">allow_arbitrary</a> [<a href="Pxp_dtd.dtd_element.html">Pxp_dtd.dtd_element</a>]</td> <td><div class="info"> This method sets the <code class="code">arbitrary_allowed</code> flag for this element. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODallow_arbitrary">allow_arbitrary</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> This method sets the <code class="code">arbitrary_allowed</code> flag. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODappend_node">append_node</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">append_node n</code>: Adds the node <code class="code">n</code> at the end of the list of children. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd_element.html#METHODarbitrary_allowed">arbitrary_allowed</a> [<a href="Pxp_dtd.dtd_element.html">Pxp_dtd.dtd_element</a>]</td> <td><div class="info"> Returns whether arbitrary attributes are allowed or not. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODarbitrary_allowed">arbitrary_allowed</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> Returns whether arbitrary contents are allowed or not. </div> </td></tr> <tr><td><a href="Pxp_dtd.namespace_manager.html#METHODas_declaration">as_declaration</a> [<a href="Pxp_dtd.namespace_manager.html">Pxp_dtd.namespace_manager</a>]</td> <td><div class="info"> Returns the list of normprefixes and primary URIs. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd_element.html#METHODattribute">attribute</a> [<a href="Pxp_dtd.dtd_element.html">Pxp_dtd.dtd_element</a>]</td> <td><div class="info"> get the type and default value of a declared attribute, or raise <code class="code"><span class="constructor">Validation_error</span></code> if the attribute does not exist. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODattribute">attribute</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">attribute name</code> returns the value of the attribute <code class="code">name</code>. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd_element.html#METHODattribute_names">attribute_names</a> [<a href="Pxp_dtd.dtd_element.html">Pxp_dtd.dtd_element</a>]</td> <td><div class="info"> get the list of all declared attributes </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODattribute_names">attribute_names</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns the list of all attribute names of this element. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODattribute_type">attribute_type</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">attribute_type name</code>: returns the type of the attribute <code class="code">name</code>. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd_element.html#METHODattribute_violates_standalone_declaration">attribute_violates_standalone_declaration</a> [<a href="Pxp_dtd.dtd_element.html">Pxp_dtd.dtd_element</a>]</td> <td><div class="info"> <code class="code">attribute_violates_standalone_declaration name v</code>: Checks whether the attribute <code class="code">name</code> violates the standalone declaration if it has value <code class="code">v</code>. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODattributes">attributes</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns the list of <code class="code">(name,value)</code> pairs describing all attributes (declared attributes plus defined attributes). </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODattributes_as_nodes">attributes_as_nodes</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns all attributes (i.e. </div> </td></tr> <tr><td align="left"><br>C</td></tr> <tr><td><a href="Pxp_reader.resolver.html#METHODchange_encoding">change_encoding</a> [<a href="Pxp_reader.resolver.html">Pxp_reader.resolver</a>]</td> <td><div class="info"> Changes the external encoding. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODclassify_data_node">classify_data_node</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">classify_data_node n</code>: Classifies the passed data node <code class="code">n</code>, and returns whether it is reasonable to append the data node to the list of subnodes (using <code class="code">append_node</code>). </div> </td></tr> <tr><td><a href="Pxp_reader.resolver.html#METHODclone">clone</a> [<a href="Pxp_reader.resolver.html">Pxp_reader.resolver</a>]</td> <td><div class="info"> Every resolver can be cloned. </div> </td></tr> <tr><td><a href="Pxp_document.extension.html#METHODclone">clone</a> [<a href="Pxp_document.extension.html">Pxp_document.extension</a>]</td> <td><div class="info"> <code class="code">clone</code> is called when the node is to be duplicated, and as a followup action, also the extension must be cloned. </div> </td></tr> <tr><td><a href="Pxp_reader.resolver.html#METHODclose_in">close_in</a> [<a href="Pxp_reader.resolver.html">Pxp_reader.resolver</a>]</td> <td><div class="info"> Closes the resolver </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODcomment">comment</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns <code class="code"><span class="constructor">Some</span> text</code> if the node is a comment node and if <code class="code">text</code> is the comment string (without the delimiters <code class="code"><!--</code> and <code class="code">--></code>). </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODcomplement_attlist">complement_attlist</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">complement_attlist ()</code>: Adds attributes that are declared in the DTD but are currently missing: <code class="code"><span class="keywordsign">#</span><span class="constructor">IMPLIED</span></code> attributes are added with <code class="code"><span class="constructor">Implied_value</span></code>, and if there is a default value for an attribute, this value is added. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd_element.html#METHODcontent_dfa">content_dfa</a> [<a href="Pxp_dtd.dtd_element.html">Pxp_dtd.dtd_element</a>]</td> <td><div class="info"> return the DFA of the content model if there is a DFA, or <code class="code"><span class="constructor">None</span></code>. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd_element.html#METHODcontent_model">content_model</a> [<a href="Pxp_dtd.dtd_element.html">Pxp_dtd.dtd_element</a>]</td> <td><div class="info"> get the content model of this element declaration, or <code class="code"><span class="constructor">Unspecified</span></code> </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODcreate_data">create_data</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">create_data dtd cdata</code>: This method is usually only called on exemplars to create fresh nodes of the same class as the examplars. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODcreate_element">create_element</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">create_element ~name_pool_for_attribute_values ~position ~valcheck ~att_values dtd ntype att_list</code>: This method is usually only called on exemplars to create fresh nodes of the same class as the examplars. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODcreate_other">create_other</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">create_other ~position dtd ntype</code>: This method is usually only called on exemplars to create fresh nodes of the same class as the examplars. </div> </td></tr> <tr><td align="left"><br>D</td></tr> <tr><td><a href="Pxp_document.node.html#METHODdata">data</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> This method returns what is considered as the data of the node which depends on the node type: Data nodes: the method returns the character string the node represents, Element nodes, super root nodes: the method returns the concatenated character strings of all (direct or indirect) data nodes below this node, Comment nodes: the method returns the comment string (without delimiters), or it raises <code class="code"><span class="constructor">Not_found</span></code> if the comment string is not set (see also the <code class="code">comment</code> method below for an alternate way of getting the comment string), Processing instructions: the method returns the data part of the instruction, or <code class="code"><span class="string">""</span></code> if the data part is missing (see also the <code class="code">pinstr</code> method below for an alternay way of accessing processing instructions), Attribute nodes: the method returns the attribute value as string, or it raises <code class="code"><span class="constructor">Not_found</span></code> if the attribute is implied., Namespace nodes: the method returns the namespace URI <b>Domain.</b> </div> </td></tr> <tr><td><a href="Pxp_dtd.namespace_scope.html#METHODdeclaration">declaration</a> [<a href="Pxp_dtd.namespace_scope.html">Pxp_dtd.namespace_scope</a>]</td> <td><div class="info"> Returns the list of namespace declarations of this scope (i.e. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODdelete">delete</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <b>Deprecated</b> alias for <code class="code">remove</code> </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd_element.html#METHODdisallow_arbitrary">disallow_arbitrary</a> [<a href="Pxp_dtd.dtd_element.html">Pxp_dtd.dtd_element</a>]</td> <td><div class="info"> Clears the <code class="code">arbitrary_allowed</code> flag </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODdisallow_arbitrary">disallow_arbitrary</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> Clears the <code class="code">arbitrary_allowed</code> flag again </div> </td></tr> <tr><td><a href="Pxp_document.document.html#METHODdisplay">display</a> [<a href="Pxp_document.document.html">Pxp_document.document</a>]</td> <td><div class="info"> Write the document to the passed output stream; the passed encoding used. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODdisplay">display</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">display stream enc</code>: Write the contents of this node and the subtrees to the passed <code class="code">stream</code> encoded as <code class="code">enc</code>. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODdisplay_prefix">display_prefix</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> For namespace-aware implementations of the node class, this method returns the display prefix of the element or attribute. </div> </td></tr> <tr><td><a href="Pxp_dtd.namespace_scope.html#METHODdisplay_prefix_of_normprefix">display_prefix_of_normprefix</a> [<a href="Pxp_dtd.namespace_scope.html">Pxp_dtd.namespace_scope</a>]</td> <td><div class="info"> Translates the normalized prefix to the corresponding display prefix as declared in this object or any parent object. </div> </td></tr> <tr><td><a href="Pxp_dtd.namespace_scope.html#METHODdisplay_prefix_of_uri">display_prefix_of_uri</a> [<a href="Pxp_dtd.namespace_scope.html">Pxp_dtd.namespace_scope</a>]</td> <td><div class="info"> Translates the URI to the corresponding display prefix as declared in this object or any parent object. </div> </td></tr> <tr><td><a href="Pxp_document.document.html#METHODdtd">dtd</a> [<a href="Pxp_document.document.html">Pxp_document.document</a>]</td> <td><div class="info"> Returns the DTD of the root element. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODdtd">dtd</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns the DTD. </div> </td></tr> <tr><td><a href="Pxp_document.document.html#METHODdump">dump</a> [<a href="Pxp_document.document.html">Pxp_document.document</a>]</td> <td></td></tr> <tr><td><a href="Pxp_document.node.html#METHODdump">dump</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td></td></tr> <tr><td align="left"><br>E</td></tr> <tr><td><a href="Pxp_dtd.namespace_scope.html#METHODeffective_declaration">effective_declaration</a> [<a href="Pxp_dtd.namespace_scope.html">Pxp_dtd.namespace_scope</a>]</td> <td><div class="info"> Returns the list of namespace declarations of this scope and all parent scopes. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODelement">element</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> looks up the element declaration with the given name. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODelement_names">element_names</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> returns the list of the names of all element declarations. </div> </td></tr> <tr><td><a href="Pxp_dtd.proc_instruction.html#METHODencoding">encoding</a> [<a href="Pxp_dtd.proc_instruction.html">Pxp_dtd.proc_instruction</a>]</td> <td></td></tr> <tr><td><a href="Pxp_dtd.dtd_notation.html#METHODencoding">encoding</a> [<a href="Pxp_dtd.dtd_notation.html">Pxp_dtd.dtd_notation</a>]</td> <td></td></tr> <tr><td><a href="Pxp_dtd.dtd_element.html#METHODencoding">encoding</a> [<a href="Pxp_dtd.dtd_element.html">Pxp_dtd.dtd_element</a>]</td> <td><div class="info"> Return the encoding of the strings </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODencoding">encoding</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> returns the encoding used for character representation </div> </td></tr> <tr><td><a href="Pxp_document.document.html#METHODencoding">encoding</a> [<a href="Pxp_document.document.html">Pxp_document.document</a>]</td> <td><div class="info"> Returns the string encoding of the document = the encoding of the root element = the encoding of the element tree = the encoding of the DTD. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODencoding">encoding</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Get the encoding which is always the same as the encoding of the DTD. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODentity_id">entity_id</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns the <code class="code">entity_id</code> object. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd_notation.html#METHODext_id">ext_id</a> [<a href="Pxp_dtd.dtd_notation.html">Pxp_dtd.dtd_notation</a>]</td> <td></td></tr> <tr><td><a href="Pxp_document.node.html#METHODextension">extension</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns the extension object of this node. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd_element.html#METHODexternally_declared">externally_declared</a> [<a href="Pxp_dtd.dtd_element.html">Pxp_dtd.dtd_element</a>]</td> <td><div class="info"> returns whether the element declaration occurs in an external entity. </div> </td></tr> <tr><td align="left"><br>F</td></tr> <tr><td><a href="Pxp_tree_parser.index.html#METHODfind">find</a> [<a href="Pxp_tree_parser.index.html">Pxp_tree_parser.index</a>]</td> <td><div class="info"> Finds the node with the passed ID value, or raises <code class="code"><span class="constructor">Not_found</span></code> </div> </td></tr> <tr><td><a href="Pxp_tree_parser.hash_index.html#METHODfind">find</a> [<a href="Pxp_tree_parser.hash_index.html">Pxp_tree_parser.hash_index</a>]</td> <td><div class="info"> Finds the node with the passed ID value, or raises <code class="code"><span class="constructor">Not_found</span></code> </div> </td></tr> <tr><td align="left"><br>G</td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODgen_entity">gen_entity</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> <code class="code"><span class="keyword">let</span> e, extdecl = obj <span class="keywordsign">#</span> gen_entity n</code>: looks up the general entity <code class="code">e</code> with the name <code class="code">n</code>. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODgen_entity_names">gen_entity_names</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> returns the list of all general entity names </div> </td></tr> <tr><td><a href="Pxp_dtd.namespace_manager.html#METHODget_normprefix">get_normprefix</a> [<a href="Pxp_dtd.namespace_manager.html">Pxp_dtd.namespace_manager</a>]</td> <td><div class="info"> Return the normprefix for a URI, or raises <code class="code"><span class="constructor">Namespace_not_managed</span></code>. </div> </td></tr> <tr><td><a href="Pxp_dtd.namespace_manager.html#METHODget_primary_uri">get_primary_uri</a> [<a href="Pxp_dtd.namespace_manager.html">Pxp_dtd.namespace_manager</a>]</td> <td><div class="info"> Return the primary URI for a normprefix, or raises <code class="code"><span class="constructor">Namespace_prefix_not_managed</span></code>. </div> </td></tr> <tr><td><a href="Pxp_dtd.namespace_manager.html#METHODget_uri_list">get_uri_list</a> [<a href="Pxp_dtd.namespace_manager.html">Pxp_dtd.namespace_manager</a>]</td> <td><div class="info"> Return all URIs for a normprefix, or <code class="code">[]</code> if the normprefix is unused. </div> </td></tr> <tr><td align="left"><br>I</td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODid">id</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> get the identifier for this DTD. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd_element.html#METHODid_attribute_name">id_attribute_name</a> [<a href="Pxp_dtd.dtd_element.html">Pxp_dtd.dtd_element</a>]</td> <td><div class="info"> Returns the name of the attribute with type ID, or <code class="code"><span class="constructor">None</span></code>. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODid_attribute_name">id_attribute_name</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns the name of the (at most one) attribute being declared as type <code class="code"><span class="constructor">ID</span></code>. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODid_attribute_value">id_attribute_value</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns the string value of the (at most one) attribute being declared as type <code class="code"><span class="constructor">ID</span></code>. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd_element.html#METHODidref_attribute_names">idref_attribute_names</a> [<a href="Pxp_dtd.dtd_element.html">Pxp_dtd.dtd_element</a>]</td> <td><div class="info"> Returns the names of the attributes with type IDREF or IDREFS. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODidref_attribute_names">idref_attribute_names</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns the names of the attributes being declared as type <code class="code"><span class="constructor">IDREF</span></code> or <code class="code"><span class="constructor">IDREFS</span></code>. </div> </td></tr> <tr><td><a href="Pxp_tree_parser.hash_index.html#METHODindex">index</a> [<a href="Pxp_tree_parser.hash_index.html">Pxp_tree_parser.hash_index</a>]</td> <td><div class="info"> Returns the hash table mapping IDs to nodes. </div> </td></tr> <tr><td><a href="Pxp_reader.resolver.html#METHODinit_rep_encoding">init_rep_encoding</a> [<a href="Pxp_reader.resolver.html">Pxp_reader.resolver</a>]</td> <td><div class="info"> A resolver can open an input source, and returns this source as <code class="code"><span class="constructor">Lexing</span>.lexbuf</code> (and as its advanced version, <code class="code"><span class="constructor">Netulex</span>.<span class="constructor">ULB</span>.unicode_lexbuf</code>). </div> </td></tr> <tr><td><a href="Pxp_document.document.html#METHODinit_root">init_root</a> [<a href="Pxp_document.document.html">Pxp_document.document</a>]</td> <td><div class="info"> Set the root element. </div> </td></tr> <tr><td><a href="Pxp_reader.resolver.html#METHODinit_warner">init_warner</a> [<a href="Pxp_reader.resolver.html">Pxp_reader.resolver</a>]</td> <td></td></tr> <tr><td><a href="Pxp_document.document.html#METHODinit_xml_version">init_xml_version</a> [<a href="Pxp_document.document.html">Pxp_document.document</a>]</td> <td><div class="info"> Set the XML version string of the XML declaration. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODinsert_nodes">insert_nodes</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">insert_nodes ~pos nl</code>: Inserts the list of nodes <code class="code">nl</code> in-place into the list of children. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODinternal_adopt">internal_adopt</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td></td></tr> <tr><td><a href="Pxp_document.node.html#METHODinternal_delete">internal_delete</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td></td></tr> <tr><td><a href="Pxp_document.node.html#METHODinternal_init">internal_init</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td></td></tr> <tr><td><a href="Pxp_document.node.html#METHODinternal_init_other">internal_init_other</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td></td></tr> <tr><td><a href="Pxp_document.node.html#METHODinternal_set_pos">internal_set_pos</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td></td></tr> <tr><td><a href="Pxp_dtd.namespace_manager.html#METHODiter_namespaces">iter_namespaces</a> [<a href="Pxp_dtd.namespace_manager.html">Pxp_dtd.namespace_manager</a>]</td> <td><div class="info"> Iterates over all namespaces contained in the object, and calls the passed function for every namespace. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODiter_nodes">iter_nodes</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">obj<span class="keywordsign">#</span>iter_nodes f</code> iterates over the regular children of <code class="code">obj</code>, and calls the function <code class="code">f</code> for every child <code class="code">ch</code> as <code class="code">f ch</code>. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODiter_nodes_sibl">iter_nodes_sibl</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">obj<span class="keywordsign">#</span>iter_nodes f</code> iterates over the regular children of <code class="code">obj</code>, and calls the function <code class="code">f</code> for every child as <code class="code">f pred ch succ</code>: <code class="code">ch</code> is the child, <code class="code">pred</code> is <code class="code"><span class="constructor">None</span></code> if the child is the first in the list, and <code class="code"><span class="constructor">Some</span> p</code> otherwise; <code class="code">p</code> is the predecessor of <code class="code">ch</code>, <code class="code">succ</code> is <code class="code"><span class="constructor">None</span></code> if the child is the last in the list, and <code class="code"><span class="constructor">Some</span> s</code> otherwise; <code class="code">s</code> is the successor of <code class="code">ch</code> The regular children are the nodes returned by <code class="code">sub_nodes</code>, see there for an explanation. </div> </td></tr> <tr><td align="left"><br>L</td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODlexer_factory">lexer_factory</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> Returns a lexer factory for the character encoding </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODlocal_validate">local_validate</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <b>Deprecated</b> alias for <code class="code">validate_contents</code> </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODlocalname">localname</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> For namespace-aware implementations of the node class, this method returns the local part of the name of the element or attribute. </div> </td></tr> <tr><td><a href="Pxp_dtd.namespace_manager.html#METHODlookup_or_add_namespace">lookup_or_add_namespace</a> [<a href="Pxp_dtd.namespace_manager.html">Pxp_dtd.namespace_manager</a>]</td> <td><div class="info"> <code class="code">lookup_or_add_namespace p uri</code>: first, the method looks up if the namespace for <code class="code">uri</code> does already exist. </div> </td></tr> <tr><td align="left"><br>N</td></tr> <tr><td><a href="Pxp_dtd.dtd_notation.html#METHODname">name</a> [<a href="Pxp_dtd.dtd_notation.html">Pxp_dtd.dtd_notation</a>]</td> <td></td></tr> <tr><td><a href="Pxp_dtd.dtd_element.html#METHODname">name</a> [<a href="Pxp_dtd.dtd_element.html">Pxp_dtd.dtd_element</a>]</td> <td><div class="info"> returns the name of the declared element </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd_element.html#METHODnames_of_required_attributes">names_of_required_attributes</a> [<a href="Pxp_dtd.dtd_element.html">Pxp_dtd.dtd_element</a>]</td> <td><div class="info"> get the list of all attributes that are specified as required attributes </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODnamespace_manager">namespace_manager</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> For namespace-aware implementations of the node class, this method returns the namespace manager. </div> </td></tr> <tr><td><a href="Pxp_dtd.namespace_scope.html#METHODnamespace_manager">namespace_manager</a> [<a href="Pxp_dtd.namespace_scope.html">Pxp_dtd.namespace_scope</a>]</td> <td><div class="info"> Returns the <code class="code">namespace_manager</code> to which this scope object is connected </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODnamespace_manager">namespace_manager</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> For namespace-aware implementations of the node class, this method returns the namespace manager. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODnamespace_scope">namespace_scope</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns additional information about the namespace structure in the parsed XML text. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODnamespace_uri">namespace_uri</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> For namespace-aware implementations of the node class, this method returns the namespace URI of the element, attribute or namespace. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODnamespaces_as_nodes">namespaces_as_nodes</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns the namespaces found in the <code class="code">namespace_scope</code> object and all parent scope objects (except declarations that are hidden by more recent declarations). </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODnext_node">next_node</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns the successor of this node in the list of regular children of the parent, or raise <code class="code"><span class="constructor">Not_found</span></code> if this node is the last child. </div> </td></tr> <tr><td><a href="Pxp_document.extension.html#METHODnode">node</a> [<a href="Pxp_document.extension.html">Pxp_document.extension</a>]</td> <td><div class="info"> <code class="code">node</code> is the link from the extension to the main node. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODnode_path">node_path</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns the list of node positions describing the location of this node in the whole tree. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODnode_position">node_position</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns the position of this node in the list of all children of the parent node. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODnode_type">node_type</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns the type of the node: <code class="code"><span class="constructor">T_element</span> t</code>: The node is an element with name <code class="code">t</code>, <code class="code"><span class="constructor">T_data</span></code>: The node is a data node, <code class="code"><span class="constructor">T_comment</span></code>: The node is a comment node, <code class="code"><span class="constructor">T_pinstr</span> n</code>: The node is a processing instruction with target <code class="code">n</code>, <code class="code"><span class="constructor">T_super_root</span></code>: The node is a super root node, <code class="code"><span class="constructor">T_attribute</span> n</code>: The node is an attribute with name <code class="code">n</code>, <code class="code"><span class="constructor">T_namespace</span> p</code>: The node is a namespace with normalized prefix <code class="code">p</code> <b>Domain.</b> </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODnormprefix">normprefix</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> For namespace-aware implementations of the node class, this method returns the normalized prefix of the element or attribute. </div> </td></tr> <tr><td><a href="Pxp_dtd.namespace_scope.html#METHODnormprefix_of_display_prefix">normprefix_of_display_prefix</a> [<a href="Pxp_dtd.namespace_scope.html">Pxp_dtd.namespace_scope</a>]</td> <td><div class="info"> Translates the display prefix to the corresponding normalized prefix as declared in this object or any parent object. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODnotation">notation</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> looks up the notation declaration with the given name. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODnotation_names">notation_names</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> Returns the list of the names of all added notations </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODnth_node">nth_node</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">nth_node n</code> returns the n-th regular child, <code class="code">n >= 0</code>. </div> </td></tr> <tr><td align="left"><br>O</td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODonly_deterministic_models">only_deterministic_models</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> Succeeds if all regexp content models are deterministic. </div> </td></tr> <tr><td><a href="Pxp_reader.resolver.html#METHODopen_in">open_in</a> [<a href="Pxp_reader.resolver.html">Pxp_reader.resolver</a>]</td> <td><div class="info"> This is the old method to open a resolver. </div> </td></tr> <tr><td><a href="Pxp_reader.resolver.html#METHODopen_rid">open_rid</a> [<a href="Pxp_reader.resolver.html">Pxp_reader.resolver</a>]</td> <td><div class="info"> This is the new method to open a resolver. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODoptional_list_attribute">optional_list_attribute</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">optional_list_attribute name</code>: Returns the value of the attribute <code class="code">name</code> as string list, i.e. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODoptional_string_attribute">optional_string_attribute</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">optional_string_attribute name</code>: Returns the value of the attribute <code class="code">name</code> as optional string, i.e. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODorphaned_clone">orphaned_clone</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns a clone of the node and the complete tree below this node (deep clone). </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODorphaned_flat_clone">orphaned_flat_clone</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> return a clone of this element where all subnodes are omitted. </div> </td></tr> <tr><td align="left"><br>P</td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODpar_entity">par_entity</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> looks up the parameter entity with the given name. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODpar_entity_names">par_entity_names</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> returns the list of all parameter entity names </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODparent">parent</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Get the parent node, or raise <code class="code"><span class="constructor">Not_found</span></code> if this node is a root node. </div> </td></tr> <tr><td><a href="Pxp_dtd.namespace_scope.html#METHODparent_scope">parent_scope</a> [<a href="Pxp_dtd.namespace_scope.html">Pxp_dtd.namespace_scope</a>]</td> <td><div class="info"> Returns the parent object, if any </div> </td></tr> <tr><td><a href="Pxp_dtd.proc_instruction.html#METHODparse_pxp_option">parse_pxp_option</a> [<a href="Pxp_dtd.proc_instruction.html">Pxp_dtd.proc_instruction</a>]</td> <td><div class="info"> Parses a PI containing a PXP option. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODpinstr">pinstr</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> looks up all processing instructions with the given target. </div> </td></tr> <tr><td><a href="Pxp_document.document.html#METHODpinstr">pinstr</a> [<a href="Pxp_document.document.html">Pxp_document.document</a>]</td> <td><div class="info"> Return all PIs for a passed target string. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODpinstr">pinstr</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">pinstr n</code> returns all processing instructions that are attached to this object and that have a target specification of <code class="code">n</code>. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODpinstr_names">pinstr_names</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> Returns the list of the names (targets) of all added pinstrs </div> </td></tr> <tr><td><a href="Pxp_document.document.html#METHODpinstr_names">pinstr_names</a> [<a href="Pxp_document.document.html">Pxp_document.document</a>]</td> <td><div class="info"> Return all target strings of all PIs. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODpinstr_names">pinstr_names</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns the targets of all processing instructions that are attached to this object. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODposition">position</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns a triple <code class="code">(entity,line,pos)</code> describing the location of the element in the original XML text. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODprevious_node">previous_node</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns the predecessor of this node in the list of regular children of the parent, or raise <code class="code"><span class="constructor">Not_found</span></code> if this node is the first child. </div> </td></tr> <tr><td align="left"><br>Q</td></tr> <tr><td><a href="Pxp_document.node.html#METHODquick_set_attributes">quick_set_attributes</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <b>Deprecrated</b> alias for <code class="code">set_attributes</code> </div> </td></tr> <tr><td align="left"><br>R</td></tr> <tr><td><a href="Pxp_document.document.html#METHODraw_root_name">raw_root_name</a> [<a href="Pxp_document.document.html">Pxp_document.document</a>]</td> <td><div class="info"> The unprocessed name of the root element (second arg of <code class="code">init_root</code>) </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODremove">remove</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Removes this node from the tree. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODremove_nodes">remove_nodes</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">remove_nodes ~pos ~len ()</code>: Removes the specified nodes from the list of children. </div> </td></tr> <tr><td><a href="Pxp_reader.resolver.html#METHODrep_encoding">rep_encoding</a> [<a href="Pxp_reader.resolver.html">Pxp_reader.resolver</a>]</td> <td><div class="info"> Return the representation encoding, as set by <code class="code">init_rep_encoding</code> </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODrequired_list_attribute">required_list_attribute</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">required_list_attribute name</code>: Returns the value of the attribute <code class="code">name</code> as string list, i.e. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODrequired_string_attribute">required_string_attribute</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">required_string_attribute name</code>: Returns the value of the attribute <code class="code">name</code> as string, i.e. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODreset_attribute">reset_attribute</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">reset_attribute n</code>: If the attribute <code class="code">n</code> is a declared attribute, it is set to its default value, or to <code class="code"><span class="constructor">Implied_value</span></code> if there is no default (the latter is performed even if the attribute is <code class="code"><span class="keywordsign">#</span><span class="constructor">REQUIRED</span></code>). </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODroot">root</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> get the name of the root element if present. </div> </td></tr> <tr><td><a href="Pxp_document.document.html#METHODroot">root</a> [<a href="Pxp_document.document.html">Pxp_document.document</a>]</td> <td><div class="info"> Returns the root element, or fails if there is not any. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODroot">root</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Gets the root node of the tree. </div> </td></tr> <tr><td align="left"><br>S</td></tr> <tr><td><a href="Pxp_document.node.html#METHODset_attribute">set_attribute</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">set_attribute ~force n v</code>: Sets the attribute <code class="code">n</code> of this element to the value <code class="code">v</code>. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODset_attributes">set_attributes</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">set_attributes al</code>: Sets the attributes of this element to <code class="code">al</code>. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd_element.html#METHODset_cm_and_extdecl">set_cm_and_extdecl</a> [<a href="Pxp_dtd.dtd_element.html">Pxp_dtd.dtd_element</a>]</td> <td><div class="info"> <code class="code">set_cm_and_extdecl cm extdecl</code>: set the content model to <code class="code">cm</code>. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODset_comment">set_comment</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">set_comment c</code>: Sets the comment string contained in comment nodes if <code class="code">c = <span class="constructor">Some</span> s</code>. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODset_data">set_data</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">set_data s</code>: This method sets the character string contained in data nodes. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODset_id">set_id</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> set the identifier. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODset_namespace_manager">set_namespace_manager</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> Sets the namespace manager as returned by <code class="code">namespace_manager</code>. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODset_namespace_scope">set_namespace_scope</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">set_namespace_scope scope</code>: Sets the namespace scope object. </div> </td></tr> <tr><td><a href="Pxp_document.extension.html#METHODset_node">set_node</a> [<a href="Pxp_document.extension.html">Pxp_document.extension</a>]</td> <td><div class="info"> <code class="code">set_node n</code> sets the link to the main node to <code class="code">n</code>. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODset_nodes">set_nodes</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">set_nodes l</code>: Sets the list of children to <code class="code">l</code>. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODset_root">set_root</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> set the name of the root element. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODset_standalone_declaration">set_standalone_declaration</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> Sets the 'standalone' declaration. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODstandalone_declaration">standalone_declaration</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> Whether there is a 'standalone' declaration or not. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODsub_nodes">sub_nodes</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> Returns the regular children of the node as list. </div> </td></tr> <tr><td align="left"><br>T</td></tr> <tr><td><a href="Pxp_dtd.proc_instruction.html#METHODtarget">target</a> [<a href="Pxp_dtd.proc_instruction.html">Pxp_dtd.proc_instruction</a>]</td> <td></td></tr> <tr><td align="left"><br>U</td></tr> <tr><td><a href="Pxp_dtd.namespace_scope.html#METHODuri_of_display_prefix">uri_of_display_prefix</a> [<a href="Pxp_dtd.namespace_scope.html">Pxp_dtd.namespace_scope</a>]</td> <td><div class="info"> Translates the display prefix to the corresponding URI as declared in this object or any parent object. </div> </td></tr> <tr><td align="left"><br>V</td></tr> <tr><td><a href="Pxp_dtd.dtd_element.html#METHODvalidate">validate</a> [<a href="Pxp_dtd.dtd_element.html">Pxp_dtd.dtd_element</a>]</td> <td><div class="info"> checks whether this element declaration (i.e. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODvalidate">validate</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> ensures that the DTD is valid. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODvalidate">validate</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">validate ()</code>: Calls <code class="code">validate_contents</code> and <code class="code">validate_attlist</code>, and ensures that this element is locally valid. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODvalidate_attlist">validate_attlist</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">validate_attlist ()</code>: Checks whether the attribute list of this element matches the declared attribute list. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODvalidate_contents">validate_contents</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">validate_contents ?use_dfa ?check_data_nodes ()</code>: Checks that the subnodes of this element match the declared content model of this element. </div> </td></tr> <tr><td><a href="Pxp_dtd.proc_instruction.html#METHODvalue">value</a> [<a href="Pxp_dtd.proc_instruction.html">Pxp_dtd.proc_instruction</a>]</td> <td></td></tr> <tr><td align="left"><br>W</td></tr> <tr><td><a href="Pxp_core_types.S.symbolic_warnings.html#METHODwarn">warn</a> [<a href="Pxp_core_types.S.symbolic_warnings.html">Pxp_core_types.S.symbolic_warnings</a>]</td> <td></td></tr> <tr><td><a href="Pxp_core_types.S.collect_warnings.html#METHODwarn">warn</a> [<a href="Pxp_core_types.S.collect_warnings.html">Pxp_core_types.S.collect_warnings</a>]</td> <td></td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODwrite">write</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> <code class="code">write os enc doctype</code>: Writes the DTD as <code class="code">enc</code>-encoded string to <code class="code">os</code>. </div> </td></tr> <tr><td><a href="Pxp_document.document.html#METHODwrite">write</a> [<a href="Pxp_document.document.html">Pxp_document.document</a>]</td> <td><div class="info"> Write the document to the passed output stream; the passed encoding used. </div> </td></tr> <tr><td><a href="Pxp_document.node.html#METHODwrite">write</a> [<a href="Pxp_document.node.html">Pxp_document.node</a>]</td> <td><div class="info"> <code class="code">write stream enc</code>: Write the contents of this node and the subtrees to the passed <code class="code">stream</code> encoded as <code class="code">enc</code>. </div> </td></tr> <tr><td><a href="Pxp_dtd.dtd.html#METHODwrite_ref">write_ref</a> [<a href="Pxp_dtd.dtd.html">Pxp_dtd.dtd</a>]</td> <td><div class="info"> <code class="code">write_ref os enc</code>: Writes a reference to the DTD as <code class="code">enc</code>-encoded string to <code class="code">os</code>. </div> </td></tr> <tr><td align="left"><br>X</td></tr> <tr><td><a href="Pxp_document.document.html#METHODxml_standalone">xml_standalone</a> [<a href="Pxp_document.document.html">Pxp_document.document</a>]</td> <td><div class="info"> Returns whether this document is declared as being standalone. </div> </td></tr> <tr><td><a href="Pxp_document.document.html#METHODxml_version">xml_version</a> [<a href="Pxp_document.document.html">Pxp_document.document</a>]</td> <td><div class="info"> Returns the XML version from the XML declaration. </div> </td></tr> </table><br> </body> </html>