Index of class methods


A
active_id [Pxp_reader.resolver]
Returns the actually used resolver ID.
add [Pxp_tree_parser.index]
Add the passed node to the index.
add [Pxp_tree_parser.hash_index]
See above.
add_attribute [Pxp_dtd.dtd_element]
add_attribute name type default extdecl: add an attribute declaration for an attribute with the given name, type, and default value.
add_element [Pxp_dtd.dtd]
add the given element declaration to this DTD.
add_gen_entity [Pxp_dtd.dtd]
add_gen_entity e extdecl: add the entity 'e' as general entity to this DTD (general entities are those represented by &name;).
add_namespace [Pxp_dtd.namespace_manager]
add_namespace np uri: adds a new namespace to the object.
add_node [Pxp_document.node]
add_node is now DEPRECATED; use append_node instead!
add_notation [Pxp_dtd.dtd]
add the given notation to this DTD.
add_par_entity [Pxp_dtd.dtd]
add the given entity as parameter entity to this DTD (parameter entities are those represented by %name;).
add_pinstr [Pxp_dtd.dtd]
add the given processing instruction to this DTD.
add_pinstr [Pxp_document.document]
Adds a processing instruction to the document container.
add_pinstr [Pxp_document.node]
<ID:type-node-add-pinstr> <CALL> obj # add_pinstr pi <SIG> AUTO <DESCR> Adds the processing instruction pi to the set of processing instructions contained in obj.
add_uri [Pxp_dtd.namespace_manager]
This class manages mappings from URIs to normalized prefixes.
allow_arbitrary [Pxp_dtd.dtd_element]
After this method has been invoked, the object changes its behaviour: attributes that have not been added may be used in an arbitrary way; the method "attribute" indicates this by raising Undeclared instead of Validation_error.
allow_arbitrary [Pxp_dtd.dtd]
After this method has been invoked, the object changes its behaviour: elements and notations that have not been added may be used in an arbitrary way; the methods "element" and "notation" indicate this by raising Undeclared instead of Validation_error.
append_node [Pxp_document.node]
<ID:type-node-append-node> <CALL> obj # append_node n <SIG> AUTO <DESCR> Adds the node n to the list of children of obj.
arbitrary_allowed [Pxp_dtd.dtd_element]
Returns whether arbitrary attributes are allowed or not.
arbitrary_allowed [Pxp_dtd.dtd]
Returns whether arbitrary contents are allowed or not.
as_declaration [Pxp_dtd.namespace_manager]
Returns the list of normprefixes and primary URIs.
attribute [Pxp_dtd.dtd_element]
get the type and default value of a declared attribute, or raise Validation_error if the attribute does not exist.
attribute [Pxp_document.node]
<ID:type-node-attribute> <CALL> obj # attribute name <SIG> AUTO <DESCR> Returns the value of the attribute name.
attribute_names [Pxp_dtd.dtd_element]
get the list of all declared attributes
attribute_names [Pxp_document.node]
<ID:type-node-attribute-names> <CALL> obj # attribute_names <SIG> AUTO <DESCR> Returns the list of all attribute names of this element.
attribute_type [Pxp_document.node]
<ID:type-node-attribute-type> <CALL> obj # attribute_type name <SIG> AUTO <DESCR> Returns the type of the attribute name.
attribute_violates_standalone_declaration [Pxp_dtd.dtd_element]
attribute_violates_standalone_declaration name v: Checks whether the attribute 'name' violates the "standalone" declaration if it has value 'v'.
attributes [Pxp_document.node]
<ID:type-node-attributes> <CALL> obj # attributes <SIG> AUTO <DESCR> Returns the list of (name,value) pairs describing all attributes (declared attributes plus defined attributes).
attributes_as_nodes [Pxp_document.node]
<ID:type-node-attributes-as-nodes> <CALL> obj # attributes_as_nodes <SIG> AUTO <DESCR> Returns all attributes (i.e.

C
change_encoding [Pxp_reader.resolver]
classify_data_node [Pxp_document.node]
<ID:type-node-classify-data-node> <CALL> obj # classify_data_node n <SIG> AUTO <DESCR> Classifies the passed data node n, and returns whether it is reasonable to append the data node to the list of subnodes (using append_node).
clone [Pxp_document.extension]
"clone" should return an exact deep copy of the object.
clone [Pxp_reader.resolver]
Every resolver can be cloned.
close_in [Pxp_reader.resolver]
comment [Pxp_document.node]
<ID:type-node-comment> <CALL> obj # comment <SIG> AUTO <DESCR> Returns Some text if the node is a comment node and if text is the comment string (without the delimiters <!-- and -->).
complement_attlist [Pxp_document.node]
<ID:type-node-complement-attlist> <CALL> obj # complement_attlist () <SIG> AUTO <DESCR> Adds attributes that are declared in the DTD but are currently missing: #IMPLIED attributes are added with Implied_value, and if there is a default value for an attribute, this value is added.
content_dfa [Pxp_dtd.dtd_element]
return the DFA of the content model if there is a DFA, or None.
content_model [Pxp_dtd.dtd_element]
get the content model of this element declaration, or Unspecified
create_data [Pxp_document.node]
<ID:type-node-create-data> <CALL> obj # create_data dtd cdata <SIG> AUTO <DESCR> Returns a flat copy of this data node with the following modifications: The DTD is set to dtd, The character string is set to cdata -- Note that the extension object is copied, too. <DOMAIN> Data nodes. <SEE> type-node-ex-create-data </ID>
create_element [Pxp_document.node]
<ID:type-node-create-element> <CALL> obj # create_element ~name_pool_for_attribute_values ~position ~valcheck ~att_values dtd ntype att_list <SIG> AUTO <DESCR> Returns a flat copy of this element node with the following modifications: The DTD is set to dtd, The node type is set to ntype (which must be T_element name), The attribute list is set to the concatenation of att_list and att_values; att_list passes attribute values as strings while att_values passes attribute values as type att_value, The copy does not have children nor a parent, The copy does not contain processing instructions., The position triple is set to position -- Note that the extension object is copied, too. If valcheck = true (the default), it is checked whether the element type exists and whether the passed attributes match the declared attribute list.
create_other [Pxp_document.node]
<ID:type-node-create-other> <CALL> obj # create_other ~position dtd ntype <SIG> AUTO <DESCR> Returns a flat copy of this node with the following modification: The DTD is set to dtd, The position triple is set to position -- Note that the extension object is copied, too. The passed node type ntype must match the node type of obj.

D
data [Pxp_document.node]
<ID:type-node-data> <CALL> obj # data <SIG> AUTO <DESCR> 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 obj, Comment nodes: the method returns the comment string (without delimiters), or it raises Not_found if the comment string is not set, Processing instructions: the method returns the data part of the instruction, or "" if the data part is missing, Attribute nodes: the method returns the attribute value as string, or it raises Not_found if the attribute is implied., Namespace nodes: the method returns the namespace URI -- <DOMAIN> All node types. </ID>
declaration [Pxp_dtd.namespace_scope]
Returns the list of namespace declarations of this scope (i.e.
delete [Pxp_document.node]
DEPRECATED METHOD remove() does exactly the same
detect_xml_pi [Pxp_lexer_types.lexer_obj]
disallow_arbitrary [Pxp_dtd.dtd_element]
disallow_arbitrary [Pxp_dtd.dtd]
display [Pxp_document.document]
Write the document to the passed output stream; the passed encoding used.
display [Pxp_document.node]
<ID:type-node-display> <CALL> obj # display ~prefixes stream enc <SIG> AUTO <DESCR> Write the contents of this node and the subtrees to the passed stream encoded as enc.
display_prefix [Pxp_document.node]
<ID:type-node-display-prefix> <CALL> obj # display_prefix <SIG> AUTO <DESCR> For namespace-aware implementations of the node class, this method returns the display prefix of the element or attribute.
display_prefix_of_normprefix [Pxp_dtd.namespace_scope]
Translates the normalized prefix to the corresponding display prefix as declared in this object or any parent object.
display_prefix_of_uri [Pxp_dtd.namespace_scope]
Translates the URI to the corresponding display prefix as declared in this object or any parent object.
dtd [Pxp_document.document]
Returns the DTD of the root element.
dtd [Pxp_document.node]
<ID:type-node-dtd> <CALL> obj # dtd <SIG> AUTO <DESCR> Returns the DTD.
dump [Pxp_document.document]
dump [Pxp_document.node]

E
effective_declaration [Pxp_dtd.namespace_scope]
Returns the list of namespace declarations of this scope and all parent scopes.
element [Pxp_dtd.dtd]
looks up the element declaration with the given name.
element_names [Pxp_dtd.dtd]
returns the list of the names of all element declarations.
encoding [Pxp_dtd.proc_instruction]
encoding [Pxp_dtd.dtd_notation]
encoding [Pxp_dtd.dtd_element]
Return the encoding of the strings
encoding [Pxp_dtd.dtd]
returns the encoding used for character representation
encoding [Pxp_document.document]
Returns the string encoding of the document = the encoding of the root element = the encoding of the element tree = the encoding of the DTD.
encoding [Pxp_document.node]
<ID:type-node-encoding> <CALL> obj # encoding <SIG> AUTO <DESCR> Get the encoding which is always the same as the encoding of the DTD.
encoding [Pxp_lexer_types.lexer_obj]
The character encoding of the scanned strings
encoding [Pxp_lexer_types.lexer_factory]
The (announced) character encoding of the scanned strings
event_char_data [Pxp_core_parser.core_parser]
event_comment [Pxp_core_parser.core_parser]
event_document_xmldecl [Pxp_core_parser.core_parser]
event_end_tag [Pxp_core_parser.core_parser]
event_pinstr [Pxp_core_parser.core_parser]
event_start_tag [Pxp_core_parser.core_parser]
ext_id [Pxp_dtd.dtd_notation]
extension [Pxp_document.node]
<ID:type-node-extension> <TYPE:method> <CALL> obj # extension <SIG> AUTO <DESCR> Returns the extension object of the node object obj.
externally_declared [Pxp_dtd.dtd_element]
returns whether the element declaration occurs in an external entity.

F
factory [Pxp_lexer_types.lexer_obj]
The lexer_factory that created this lexer_obj
find [Pxp_tree_parser.index]
Finds the node with the passed ID value, or raises Not_found
find [Pxp_tree_parser.hash_index]
See above.

G
gen_entity [Pxp_dtd.dtd]
let e, extdecl = obj # gen_entity n: looks up the general entity 'e' with the name 'n'.
gen_entity_names [Pxp_dtd.dtd]
returns the list of all general entity names
get_normprefix [Pxp_dtd.namespace_manager]
Return the normprefix for a URI, or raises Namespace_not_managed.
get_primary_uri [Pxp_dtd.namespace_manager]
Return the primary URI for a normprefix, or raises Namespace_prefix_not_managed.
get_uri_list [Pxp_dtd.namespace_manager]
Return all URIs for a normprefix, or [] if the normprefix is unused.

I
id [Pxp_dtd.dtd]
get the identifier for this DTD.
id_attribute_name [Pxp_dtd.dtd_element]
Returns the name of the attribute with type ID, or None.
id_attribute_name [Pxp_document.node]
<ID:type-node-id-attribute-name> <CALL> obj # id_attribute_name <SIG> AUTO <DESCR> Returns the name of the (at most one) attribute being declared as type ID.
id_attribute_value [Pxp_document.node]
<ID:type-node-id-attribute-value> <CALL> obj # id_attribute_value <SIG> AUTO <DESCR> Returns the string value of the (at most one) attribute being declared as type ID.
idref_attribute_names [Pxp_dtd.dtd_element]
Returns the names of the attributes with type IDREF or IDREFS.
idref_attribute_names [Pxp_document.node]
<ID:type-node-idref-attribute-names> <CALL> obj # idref_attribute_names <SIG> AUTO <DESCR> Returns the names of the attributes being declared as type IDREF or IDREFS.
index [Pxp_tree_parser.hash_index]
Returns the hash table.
init_for_xml_body [Pxp_core_parser.core_parser]
init_ns_processing [Pxp_core_parser.core_parser]
init_rep_encoding [Pxp_reader.resolver]
A resolver can open an input source, and returns this source as Lexing.lexbuf.
init_root [Pxp_document.document]
init_warner [Pxp_reader.resolver]
init_xml_version [Pxp_document.document]
insert_nodes [Pxp_document.node]
<ID:type-node-insert-nodes> <CALL> obj # insert_nodes ~pos nl <SIG> AUTO <DESCR> Inserts the list of nodes nl in-place into the list of children of obj.
internal_adopt [Pxp_document.node]
internal methods:
internal_delete [Pxp_document.node]
internal_init [Pxp_document.node]
internal_init_other [Pxp_document.node]
internal_set_pos [Pxp_document.node]
internal_vr [Pxp_dtd.dtd_element]
INTERNAL METHOD: Returns the validation record for this element type.
invalidate [Pxp_dtd.dtd]
INTERNAL METHOD
iter_namespaces [Pxp_dtd.namespace_manager]
Iterates over all namespaces contained in the object, and calls the passed function for every namespace.
iter_nodes [Pxp_document.node]
<ID:type-node-iter-nodes> <CALL> obj # iter_nodes f <SIG> AUTO <DESCR> Iterates over the regular children of obj, and calls the function f for every child ch: f ch.
iter_nodes_sibl [Pxp_document.node]
<ID:type-node-iter-nodes-sibl> <CALL> obj # iter_nodes_sibl f <SIG> AUTO <DESCR> Iterates over the regular children of obj, and calls the function f for every child: f pred ch succ.

L
lexeme [Pxp_lexer_types.lexer_obj]
The lexeme scanned last, encoded as encoding
lexeme_char [Pxp_lexer_types.lexer_obj]
Returns one character of the lexeme as Unicode code point
lexeme_length [Pxp_lexer_types.lexer_obj]
The length of the lexeme in characters
lexeme_strlen [Pxp_lexer_types.lexer_obj]
= String.length lexeme, i.e.
lexer_factory [Pxp_dtd.dtd]
Returns a lexer factory for the character encoding
local_validate [Pxp_document.node]
DEPRECATED NAME of validate_contents.
localname [Pxp_document.node]
<ID:type-node-localname> <CALL> obj # localname <SIG> AUTO <DESCR> For namespace-aware implementations of the node class, this method returns the local part of the name of the element or attribute.
lookup_or_add_namespace [Pxp_dtd.namespace_manager]
lookup_or_add_namespace p uri: first, the method looks up if the namespace for uri does already exist.

N
name [Pxp_dtd.dtd_notation]
Creation: new dtd_notation a_name an_external_ID init_encoding creates a new dtd_notation object with the given name and the given external ID.
name [Pxp_dtd.dtd_element]
returns the name of the declared element
names_of_required_attributes [Pxp_dtd.dtd_element]
get the list of all attributes that are specified as required attributes
namespace_manager [Pxp_dtd.dtd]
For namespace-aware implementations of the node class, this method returns the namespace manager.
namespace_manager [Pxp_dtd.namespace_scope]
Returns the namespace_manager to which this scope object is connected
namespace_manager [Pxp_document.node]
<ID:type-node-namespace-manager> <CALL> obj # namespace_manager <SIG> AUTO <DESCR> For namespace-aware implementations of the node class, this method returns the namespace manager.
namespace_scope [Pxp_document.node]
<ID:type-node-namespace-scope> <CALL> obj # namespace_scope <SIG> AUTO <DESCR> Returns additional information about the namespace structure in the parsed XML text.
namespace_uri [Pxp_document.node]
<ID:type-node-namespace-uri> <CALL> obj # namespace_uri <SIG> AUTO <DESCR> For namespace-aware implementations of the node class, this method returns the namespace URI of the element, attribute or namespace.
namespaces_as_nodes [Pxp_document.node]
<ID:type-node-namespaces-as-nodes> <CALL> obj # namespaces_as_nodes <SIG> AUTO <DESCR> Returns the namespaces found in the namespace_scope object and all parent scope objects (except declarations that are hidden by more recent declarations).
next_node [Pxp_document.node]
<ID:type-node-next-node> <CALL> obj # next_node <SIG> AUTO <DESCR> Returns the successor of obj in the list of regular children of the parent, or raise Not_found if this node is the last child.
node [Pxp_document.extension]
"node" returns the corresponding node of this extension.
node_path [Pxp_document.node]
<ID:type-node-node-path> <CALL> obj # node_path <SIG> AUTO <DESCR> Returns the list of node positions describing the location of this node in the whole tree.
node_position [Pxp_document.node]
<ID:type-node-node-position> <CALL> obj # node_position <SIG> AUTO <DESCR> Returns the position of obj among all children of the parent node.
node_type [Pxp_document.node]
<ID:type-node-node-type> <CALL> obj # node_type <SIG> AUTO <DESCR> Returns the type of obj: T_element t: The node is an element with type t, T_data: The node is a data node, T_comment: The node is a comment node, T_pinstr n: The node is a processing instruction with target n, T_super_root: The node is a super root node, T_attribute n: The node is an attribute with name n, T_namespace p: The node is a namespace with normalized prefix p -- <DOMAIN> All node types. </ID> XXX: <SEE> Where attribute and namespace nodes are discussed
normprefix [Pxp_document.node]
<ID:type-node-normprefix> <CALL> obj # normprefix <SIG> AUTO <DESCR> For namespace-aware implementations of the node class, this method returns the normalized prefix of the element or attribute.
normprefix_of_display_prefix [Pxp_dtd.namespace_scope]
Translates the display prefix to the corresponding normalized prefix as declared in this object or any parent object.
notation [Pxp_dtd.dtd]
looks up the notation declaration with the given name.
notation_names [Pxp_dtd.dtd]
Returns the list of the names of all added notations
nth_node [Pxp_document.node]
<ID:type-node-nth-node> <CALL> obj # nth_node n <SIG> AUTO <DESCR> Returns the n-th regular child of obj, n >= 0.

O
only_deterministic_models [Pxp_dtd.dtd]
Succeeds if all regexp content models are deterministic.
only_whitespace [Pxp_core_parser.core_parser]
open_in [Pxp_reader.resolver]
This is the old method to open a resolver.
open_rid [Pxp_reader.resolver]
This is the new method to open a resolver.
open_source [Pxp_lexer_types.lexer_obj]
Drop the current source, and open another source
open_source [Pxp_lexer_types.lexer_factory]
Open a source
open_string [Pxp_lexer_types.lexer_obj]
Drop the current source, and open the string as next source
open_string [Pxp_lexer_types.lexer_factory]
Open a string as source
open_string_inplace [Pxp_lexer_types.lexer_obj]
Drop the current source, and open the string as next source.
open_string_inplace [Pxp_lexer_types.lexer_factory]
Open a string as source.
optional_list_attribute [Pxp_document.node]
<ID:type-node-optional-list-attribute> <CALL> obj # optional_list_attribute name <SIG> AUTO <DESCR> Returns the value of the attribute name as string list, i.e.
optional_string_attribute [Pxp_document.node]
<ID:type-node-optional-string-attribute> <CALL> obj # optional_string_attribute name <SIG> AUTO <DESCR> Returns the value of the attribute name as optional string, i.e.
orphaned_clone [Pxp_document.node]
<ID:type-node-orphaned-clone> <CALL> obj # orphaned_clone <SIG> AUTO <DESCR> Returns a clone of the node and the complete tree below this node (deep clone).
orphaned_flat_clone [Pxp_document.node]
<ID:type-node-orphaned-flat-clone> <CALL> obj # orphaned_flat_clone <SIG> AUTO <DESCR> return a clone of this element where all subnodes are omitted.

P
par_entity [Pxp_dtd.dtd]
looks up the parameter entity with the given name.
par_entity_names [Pxp_dtd.dtd]
returns the list of all parameter entity names
parent [Pxp_document.node]
<ID:type-node-parent> <CALL> obj # parent <SIG> AUTO <DESCR> Get the parent node, or raise Not_found if this node is a root node.
parent_scope [Pxp_dtd.namespace_scope]
Returns the parent object, if any
parse [Pxp_core_parser.core_parser]
parse_pxp_option [Pxp_dtd.proc_instruction]
Parses a PI containing a PXP option.
pinstr [Pxp_dtd.dtd]
looks up all processing instructions with the given target.
pinstr [Pxp_document.document]
Return all PIs for a passed target string.
pinstr [Pxp_document.node]
<ID:type-node-pinstr> <CALL> obj # pinstr n <SIG> AUTO <DESCR> Returns all processing instructions that are directly contained in obj and that have a target specification of n.
pinstr_names [Pxp_dtd.dtd]
Returns the list of the names (targets) of all added pinstrs
pinstr_names [Pxp_document.document]
Return all target strings of all PIs.
pinstr_names [Pxp_document.node]
<ID:type-node-pinstr-names> <CALL> obj # pinstr_names <SIG> AUTO <DESCR> Returns the targets of all processing instructions that are directly contained in obj.
pop_src_norm_mapping [Pxp_core_parser.core_parser]
position [Pxp_document.node]
<ID:type-node-position> <CALL> obj # position <SIG> AUTO <DESCR> Returns a triple (entity,line,pos) describing the location of the element in the original XML text.
previous_node [Pxp_document.node]
<ID:type-node-previous-node> <CALL> obj # previous_node <SIG> AUTO <DESCR> Returns the predecessor of obj in the list of regular children of the parent, or raise Not_found if this node is the first child.
push_src_norm_mapping [Pxp_core_parser.core_parser]

Q
quick_set_attributes [Pxp_document.node]
DEPRECATED METHOD! set_attributes does exactly the same.

R
raw_root_name [Pxp_document.document]
The unprocessed name of the root element (second arg of init_root)
remove [Pxp_document.node]
<ID:type-node-remove> <CALL> obj # remove () <SIG> AUTO <DESCR> Removes obj from the tree.
remove_nodes [Pxp_document.node]
<ID:type-node-remove-nodes> <CALL> obj # remove_nodes ~pos ~len () <SIG> AUTO <DESCR> Removes the specified nodes from the list of children of obj.
rep_encoding [Pxp_reader.resolver]
required_list_attribute [Pxp_document.node]
<ID:type-node-required-list-attribute> <CALL> obj # required_list_attribute name <SIG> AUTO <DESCR> Returns the value of the attribute name as string list, i.e.
required_string_attribute [Pxp_document.node]
<ID:type-node-required-string-attribute> <CALL> obj # required_string_attribute name <SIG> AUTO <DESCR> Returns the value of the attribute name as string, i.e.
reset_attribute [Pxp_document.node]
<ID:type-node-reset-attribute> <CALL> obj # reset_attribute n <SIG> AUTO <DESCR> If the attribute n is a declared attribute, it is set to its default value, or to Implied_value if there is no default (the latter is performed even if the attribute is #REQUIRED).
root [Pxp_dtd.dtd]
Creation: new dtd creates a new, empty DTD object without any declaration, without a root element, without an ID.
root [Pxp_document.document]
Returns the root element, or fails if there is not any.
root [Pxp_document.node]
<ID:type-node-root> <CALL> obj # root <SIG> AUTO <DESCR> Gets the root node of the tree.

S
scan_character [Pxp_lexer_types.lexer_obj]
scan_characters [Pxp_lexer_types.lexer_obj]
scan_comment [Pxp_lexer_types.lexer_obj]
scan_content [Pxp_lexer_types.lexer_obj]
scan_content_string [Pxp_lexer_types.lexer_obj]
scan_declaration [Pxp_lexer_types.lexer_obj]
scan_document [Pxp_lexer_types.lexer_obj]
scan_document_type [Pxp_lexer_types.lexer_obj]
scan_dtd_string [Pxp_lexer_types.lexer_obj]
scan_for_crlf [Pxp_lexer_types.lexer_obj]
scan_ignored_section [Pxp_lexer_types.lexer_obj]
scan_name_string [Pxp_lexer_types.lexer_obj]
scan_pi_string [Pxp_lexer_types.lexer_obj]
scan_tag_eb [Pxp_lexer_types.lexer_obj]
scan_tag_eb_att [Pxp_lexer_types.lexer_obj]
scan_within_tag [Pxp_lexer_types.lexer_obj]
scan_xml_pi [Pxp_lexer_types.lexer_obj]
set_attribute [Pxp_document.node]
<ID:type-node-set-attribute> <CALL> obj # set_attribute ~force n v <SIG> AUTO <DESCR> Sets the attribute n of this element to the value v.
set_attributes [Pxp_document.node]
<ID:type-node-set-attributes> <CALL> obj # set_attributes al <SIG> AUTO <DESCR> Sets the attributes of this element to al.
set_cm_and_extdecl [Pxp_dtd.dtd_element]
set_cm_and_extdecl cm extdecl: set the content model to 'cm'.
set_comment [Pxp_document.node]
<ID:type-node-set-comment> <CALL> obj # set_comment c <SIG> AUTO <DESCR> Sets the comment string contained in comment nodes, if c = Some s.
set_data [Pxp_document.node]
<ID:type-node-set-data> <CALL> obj # set_data s <SIG> AUTO <DESCR> This method sets the character string contained in data nodes.
set_id [Pxp_dtd.dtd]
set the identifier.
set_namespace_manager [Pxp_dtd.dtd]
Sets the namespace manager as returned by namespace_manager.
set_namespace_scope [Pxp_document.node]
<ID:type-node-set-namespace-scope> <CALL> obj # set_namespace_scope scope <SIG> AUTO <DESCR> Sets the namespace scope object.
set_node [Pxp_document.extension]
"set_node" is invoked once the extension is associated to a new node object.
set_nodes [Pxp_document.node]
<ID:type-node-set-nodes> <CALL> obj # set_nodes l <SIG> AUTO <DESCR> Sets the list of children to l.
set_root [Pxp_dtd.dtd]
set the name of the root element.
set_standalone_declaration [Pxp_dtd.dtd]
Sets the 'standalone' declaration.
standalone_declaration [Pxp_dtd.dtd]
Whether there is a 'standalone' declaration or not.
sub_lexeme [Pxp_lexer_types.lexer_obj]
A substring of the current lexeme.
sub_nodes [Pxp_document.node]
<ID:type-node-sub-nodes> <CALL> obj # sub_nodes <SIG> AUTO <DESCR> Returns the regular children of the node as list.
sub_parser [Pxp_core_parser.core_parser]
used for the external subset
swarner [Pxp_dtd.dtd]
INTERNAL METHOD

T
target [Pxp_dtd.proc_instruction]
Creation: new proc_instruction a_target a_value creates a new proc_instruction object with the given target string and the given value string.

U
uri_of_display_prefix [Pxp_dtd.namespace_scope]
Translates the display prefix to the corresponding URI as declared in this object or any parent object.

V
validate [Pxp_dtd.dtd_element]
checks whether this element declaration (i.e.
validate [Pxp_dtd.dtd]
ensures that the DTD is valid.
validate [Pxp_document.node]
<ID:type-node-validate> <CALL> obj # validate () <SIG> AUTO <DESCR> Calls validate_contents and validate_attlist, and ensures that this element is locally valid.
validate_attlist [Pxp_document.node]
<ID:type-node-validate-attlist> <CALL> obj # validate_attlist () <SIG> AUTO <DESCR> Checks whether the attribute list of the element obj matches the declared attribute list.
validate_contents [Pxp_document.node]
<ID:type-node-validate-contents> <CALL> obj # validate_contents ?use_dfa ?check_data_nodes () <SIG> AUTO <DESCR> Checks that the subnodes of this element match the declared content model of this element.
value [Pxp_dtd.proc_instruction]

W
warn [Pxp_core_types_type.CORE_TYPES.symbolic_warnings]
warn [Pxp_core_types_type.CORE_TYPES.collect_warnings]
warner [Pxp_dtd.dtd]
INTERNAL METHOD
write [Pxp_dtd.proc_instruction]
write os enc: Writes the <?...?> PI to 'os' as 'enc'-encoded string.
write [Pxp_dtd.dtd_notation]
write_compact_as_latin1 os enc: Writes the <!NOTATION ...
write [Pxp_dtd.dtd_element]
write os enc: Writes the <!ELEMENT ...
write [Pxp_dtd.dtd]
write os enc doctype: Writes the DTD as 'enc'-encoded string to 'os'.
write [Pxp_document.document]
Write the document to the passed output stream; the passed encoding used.
write [Pxp_document.node]
<ID:type-node-write> <CALL> obj # write ~prefixes stream enc <SIG> AUTO <DESCR> Write the contents of this node and the subtrees to the passed stream encoded as enc.
write_ref [Pxp_dtd.dtd]
write_ref os enc: Writes a reference to the DTD as 'enc'-encoded string to 'os'.

X
xml_standalone [Pxp_document.document]
Returns whether this document is declared as being standalone.
xml_version [Pxp_document.document]
Returns the XML version from the XML declaration.