I can't tell right off what's wrong, but it's easier if you put the site in debug mode, create your product using the adminCP (and new controls that appear when you're in debug mode), then export the product to xml. I think the best way is to have a test site set up so you can not only leave it in debug mode all the time, but also you don't have to worry about crashing your site when testing new code. But if you can't do that you could use one of these methods to set debug mode just for yourself:
https://vborg.vbsupport.ru/showthrea...ght=debug+mode
When you do that, go to the settings in the admin CP and you'll see new controls for adding and editing options. Make sure when you add one that you select your product.