Begin XML Generator class