use xml_writer for C14N encoder