Commented xml generator