The XML::Value class encapsulates the value of a node in an XML document.
attributes
return an XML::Results that contains all of the attributes appearing on this node.
node type must be XML::Value::Node
boolean?
first_child
returns current node's first child node, or nil
node type must be XML::Value::Node
last_child
returns current node's last child node, or nil
node type must be XML::Value::Node
local_name
returns the node's local name.
node type must be XML::Value::Node
namespace
returns the URI used for the node's namespace.
node type must be XML::Value::Node
next_sibling
returns the sibling node immediately following this node in the document, or nil.
node type must be XML::Value::Node
nil?
node?
node_name
return the type of the value contained in this value
node type must be XML::Value::Node
node_value
return the node's value
node type must be XML::Value::Node
number?
owner_element
If the current node is an attribute node, returns the document element node that contains this attribute node. Otherwise, raise an exception
node type must be XML::Value::Node
parent_node
returns current node's parent, or nil
node type must be XML::Value::Node
prefix
returns the prefix set for the node's namespace.
node type must be XML::Value::Node
previous_sibling
returns the sibling node immediately preceding this node in the document, or nil
node type must be XML::Value::Node
string?
type?(type)
type