KiteXmlNode
A parsed XML (or XHTML, or SVG) node tree. KiteXml gives a flat token stream; a tree builder folds it into this so callers can reason about nesting instead of a stack of open tags.
Only two node kinds: an Element (tag + attributes + ordered children) and a Text leaf. Comments, processing instructions and the prologue never reach here, KiteXml drops them. Tags and attribute names arrive lowercased with their namespace prefix stripped, so epub:type reads as type.
Inheritors
Types
Link copied to clipboard
class Element(val tag: String, val attrs: Map<String, String>, val children: MutableList<KiteXmlNode> = ArrayList()) : KiteXmlNode
Link copied to clipboard