hacking the open-dis xmlpg generator