Run xml generator once for entity