build xml for post on create