Attribute
extends Node
An Attribute object represents an XML Attribute node.
Constructors
Attribute other,
Node deep
name = other.name;
value = other.value;
Node name,
Node value
this.name = new Name(name.stringValue());
this.value = value.stringValue();
Name name,
Node value
this.name = name.getName();
this.value = value.stringValue();
Type Functions
name()
Get the name of this attribute.
Returns: A Name node.
string()
value()
Get the value of this attribute.
Returns: A String node.
Functions inherited from Node