for entity pojo to xml