Node - AresChat/sb0t GitHub Wiki
+Node+
+appendChild+
Type: Function Return: Node Description: Add a new child element to this node
var child = node.appendChild("foo");
child.nodeValue = "bar";
+attributes+
Type: Property (read only) Return: NodeAttributes Description: Get a collection of key/value attributes for this node
+childNodes+
Type: Property (read only) Return: NodeCollection Description: Get a collection of child elements for this node
+getNodesByName+
Type: Function Return: NodeCollection Description: Get a collection of child elements for this node with a specific name
var nodes = node.getNodesByName("foo");
for (var i = 0; i < nodes.length; i++)
print(nodes[i](i).nodeValue);
+nodeName+
Type: Property (read only) Return: string Description: Get the XML name for this node
+nodeValue+
Type: Property (read/write) Return: string Description: Get or set the value for this node
+parentNode+
Type: Property (read only) Return: Node Description: Get the parent for this node
+removeChild+
Type: Function Return: bool Description: Remove a child from this node
var node = xml.getNodesByName("foo")[0](0);
node.parent.removeChild(node);