XDocument

class XDocument : XContainer

Types

Companion
Link copied to clipboard
object Companion

Functions

add
Link copied to clipboard
fun add(node: XNode)
fun add(index: Int, node: XNode)
element
Link copied to clipboard
fun element(localName: String): XElement?
fun element(localName: String, namespaceUri: String): XElement?
elements
Link copied to clipboard
fun elements(): Iterable<XElement>
fun elements(localName: String): List<XElement>
fun elements(localName: String, namespaceUri: String): List<XElement>
remove
Link copied to clipboard
fun remove(node: XNode)
removeAt
Link copied to clipboard
fun removeAt(index: Int)
toString
Link copied to clipboard
open override fun toString(): String

Properties

firstNode
Link copied to clipboard
val firstNode: XNode?
lastNode
Link copied to clipboard
val lastNode: XNode?
localName
Link copied to clipboard
val localName: String
namespaceUri
Link copied to clipboard
val namespaceUri: String
nextNode
Link copied to clipboard
val nextNode: XNode?
nodes
Link copied to clipboard
val nodes: Iterable<XNode>
nodeType
Link copied to clipboard
val nodeType: XmlNodeType
parent
Link copied to clipboard
val parent: XContainer?
root
Link copied to clipboard
var root: XElement?