newGenericWriter
fun IXmlStreaming.newGenericWriter(output: Appendable, isRepairNamespaces: Boolean = false, xmlDeclMode: XmlDeclMode = XmlDeclMode.None): KtXmlWriter
Create a new XmlWriter that appends to the given Appendable. This writer could be a platform specific writer.
Return
A platform independent XmlWriter, generally nl.adaptivity.xmlutil.core.KtXmlWriter
Parameters
output
The appendable to which the XML will be written
isRepairNamespaces
Should the writer ensure that namespace declarations are written when needed, even when not explicitly done.
xmlDeclMode
When not explicitly written, this parameter determines whether the XML declaration is written.
