Begin XML export