Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class KtXmlWriter(writer: Appendable, val isRepairNamespaces: Boolean = true, val xmlDeclMode: XmlDeclMode, xmlVersion: XmlVersion = XmlVersion.XML11) : XmlWriter

A cross-platform implementation of XmlWriter.

Link copied to clipboard

Enum with supported XML versions.

Functions

Link copied to clipboard
fun KtXmlReader(inputStream: InputStream, encoding: String? = null, relaxed: Boolean = false, expandEntities: Boolean = false): KtXmlReader

Create an XmlReader that can autodetect the encoding. It handles UTF8/16/32 based on both byte order marks and the xml declaration (check). In addition, it handles the encoding parameter of the file (mostly for 8-bit encodings).