The XML::Value class encapsulates the value of a node in an XML document.
attributesreturn an XML::Results that contains all of the attributes appearing on this node.
node type must be XML::Value::Node
boolean?first_childreturns current node's first child node, or nil
node type must be XML::Value::Node
last_childreturns current node's last child node, or nil
node type must be XML::Value::Node
local_namereturns the node's local name.
node type must be XML::Value::Node
namespacereturns the URI used for the node's namespace.
node type must be XML::Value::Node
next_siblingreturns the sibling node immediately following this node in the document, or nil.
node type must be XML::Value::Node
nil?node?node_namereturn the type of the value contained in this value
node type must be XML::Value::Node
node_valuereturn the node's value
node type must be XML::Value::Node
number?owner_elementIf 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_nodereturns current node's parent, or nil
node type must be XML::Value::Node
prefixreturns the prefix set for the node's namespace.
node type must be XML::Value::Node
previous_siblingreturns the sibling node immediately preceding this node in the document, or nil
node type must be XML::Value::Node
string?type?(type)type