writeEvent

open fun writeEvent(writer: XmlWriter, textEvent: XmlEvent.TextEvent)(source)

Shortcut to allow writing text events (only for text event types). The reader is expected to just have read the event with this type.


abstract fun writeEvent(writer: XmlWriter, reader: XmlReader)(source)

Read the rest of the event from the reader and write it to the writer. The reader is expected to just have read the event with this type.