Index of values


A
attribute_count [Xmlr]
Returns the number of attributes of the current element.

B
base_uri [Xmlr]
Returns the base URI of the current node.

D
depth [Xmlr]
Returns the depth of current node in the tree.

F
fold_subnodes [Xmlr]
fold_subnodes reader tag initial f iterates reader through the subnodes of the current tag, passing each node to f along with the current state, which f transforms.
from_filename [Xmlr]
Create a new reader from a filename.
from_string [Xmlr]
Create a new reader from a string.

G
get_attribute [Xmlr]
get_attribute reader attr gets the value of the attribute with the qualified name attr.
get_attribute_no [Xmlr]
get_attribute_no reader n returns the value of the nth attribute.
get_attribute_ns [Xmlr]
get_attribute reader ns attr gets the value of the attribute with the namespace ns and name attr.

H
has_attributes [Xmlr]
Returns true if the current element has attributes.
has_value [Xmlr]
Returns true if the current node has a text value.

I
is_empty_element [Xmlr]
Returns true if the current node is an empty element.
iter_subnodes [Xmlr]
iter_subnodes r tag f calls f on each subnode of the current node, ending at tag.

L
local_name [Xmlr]
Returns the local name of the current node.

N
name [Xmlr]
Returns the current name of the node, equal to prefix:localname.
namespace_uri [Xmlr]
Returns the URI defining the namespace associated with the current node.
next [Xmlr]
Skip to the node following the current one in document order while avoiding the subtree if any.
node_type [Xmlr]
Returns the nodetype of the current node.

P
prefix [Xmlr]
Returns the prefix defining the namespace associated with the current node.

R
read [Xmlr]
Read the next node.

S
skip_to_close [Xmlr]
skip_to_close r tag reads r forward up the next closing tag with name tag.
string_of_nodetype [Xmlr]
Return a string version of a node type.

V
value [Xmlr]
Returns the text value of the node.