Package-level declarations

Types

Link copied to clipboard
data class Attribute(val name: String, val namespace: String, val value: String)
Link copied to clipboard
Link copied to clipboard
data class ElementNode(val name: String, val namespace: String = "", val lang: String = "", val attributes: AttributeMap = emptyMap(), val children: List<Node> = listOf()) : Node

Represents a node with children in the XML tree

Link copied to clipboard
sealed class Node
Link copied to clipboard
data class TextNode(val text: String) : Node

Container for text in the XML tree

Link copied to clipboard
class XmlParser(isNamespaceAware: Boolean = true, isCaseSensitive: Boolean = true)

XML Parser with support for namespaces, mixed content and lang inheritance