Converts a sequence of XmlNode objects to XmlEvent objects.
XmlEvent
Stream<List<XmlEvent>> toXmlEvents() => transform(const XmlNodeEncoder());