Now generating xml

But not saving to a file yet.... almost there guys :)