SpecialSection Event
Fired when a special section is encountered.
Syntax
public open class DefaultXmlEventListener : XmlEventListener { ... public override fun specialSection(e: XmlSpecialSectionEvent) {} ... } public class XmlSpecialSectionEvent { val sectionId: String? val text: String? }
Remarks
The SpecialSection event is fired whenever a special section (such as <![ CDATA [ ..text... ]]>) is found in the document.
The full text of the special section is provided by the Text parameter, while the SectionId parameter provides the section identifier (e.g. "CDATA").