Finished basic XML generation