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