Added conversions from reader XmlEvent to writer XmlEvent