Element

class Element(val tag: String, val attrs: Map<String, String>, val children: MutableList<KiteXmlNode> = ArrayList()) : KiteXmlNode

Constructors

Link copied to clipboard
constructor(tag: String, attrs: Map<String, String>, children: MutableList<KiteXmlNode> = ArrayList())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Enclosing element, set by the tree builder when the child is appended, and null at the root. CSS selector matching needs it for sibling combinators and the child-indexed pseudo-classes.

Link copied to clipboard
val tag: String