foreach (foxydataTransactionsTransaction transaction in foxyData.transactions[0].transaction) { string firstName = transaction.customer_first_name; }
Now I have done it, I may write a wiki article with the clean XSD and tips on using it in .net if i get a chance.
Are you having a specific issue we might be able to help with (aside from just not having what you asked for)?
I am using the .net XmlSerializer class to access my XML and and XSD is required to set this up.
it is no problem, I have auto-generated one using the Visual Studio xsd.exe tool but it is a bit messy and wondered if you have a nice clean one?
Now I have done it, I may write a wiki article with the clean XSD and tips on using it in .net if i get a chance.
Just FYI, taking this approach to access the data allows you to write simple code like this
Thanks
Anything you could add to the wiki would be amazing!
I've now added a page to the wiki on how to use the XmlSerializer class in .net to easily read the transaction feed XML files. Comments appreciated
http://wiki.foxycart.com/integration/csharp-reading-xmldatafeed-with-xmlserializer
That is awesome! Thanks so much for adding that to the wiki!