XMLNodeList
classin packageklyn.io.xml.dom
public class XMLNodeList extends Object implements NodeList:
└ XMLNodeList
All Implemented Interfaces: NodeList

Mutable Klyn implementation of the DOM NodeList contract.

import klyn.io.xml.dom

nodes = XMLNodeList()
print(nodes.length)
Properties
Modifier and Type Member Description
public readonly property length
length as Int:
No summary.
Properties inherited from Object: type
Properties inherited from NodeList: length
Constructors
Modifier and Type Member Description
public XMLNodeList No summary.
Methods
Modifier and Type Member Description
public add
add(node as Node) as Void:
No summary.
public clear
clear() as Void:
No summary.
public indexOf
indexOf(node as Node) as Int:
No summary.
public insert
insert(index as Int, node as Node) as Void:
No summary.
public item
item(index as Int) as Node:
No summary.
public remove
remove(node as Node) as Boolean:
No summary.
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml
Methods inherited from NodeList: item