readd lwxml translation; improve LWXMLWriter