WIP debug xml