XmlDocument.Node

A generic document node

Members

Functions

attach
void attach(Node node)

Attach an already existing node to the receiver.

attribute
Node attribute(string name, string value)

Creates a new attribute and attaches it to the receiver.

attributes
VisitorProxy attributes()

Returns a foreach iterator for node attributes.

children
VisitorProxy children()

Returns a foreach iterator for node children.

element
Node element(string name, string value)

Creates a new element and attaches it to the receiver.

isValid
bool isValid()

Returns true if the receiver is valid.

name
string name()

Returns the name of the node.

parent
Node parent()

Returns the parent node.

query
QueryProxy query()

Return an XPath handle to query the receiver.

value
string value()

Returns the value of the node.

Static functions

invalid
Node invalid()

Returns an invalid node.

Meta