Basic XML assistance
1 Attachment(s)
Hoping someone can help me with what I am sure is a fairly simple request - I have setup the example XML code from the Tatts website -
http://tatts.com/tattsbet_help/info/xml-excel-example & have even manipulated it to include extra fields such as the ratings, form etc but for the life of me cannot work out how to also include the win & place odds. I have attached the excel file & if anyone can assist it would be much appreciated. |
Anyone?
|
Yes I have problems too.
The runner list is different to the odds list. You need to make a new variable I think that is separate to the runner data. If you can leave it with me tonight, I may be able to work out an xml map for the site and modify it and then rejig the code. I'll have a crack at it, but I'm not up to speed with xml. |
Cheers Chrome, I know enough about VBA to be dangerous but ended up going around in circles trying to get this to work.
|
I did create a sheet to do this but can't it right now as i have another sheet running and it will stuff of my macros if i open another sheet.
Will try and help with looking at it, here is the original code. Code:
Here is the part of the exml page we need. Code:
This is i would be looking at doing. Code:
This is just an idea with no testing you would need to debug it. I will see if i can find my sheet later today after the races. |
1 Attachment(s)
Here are the win and place pool odds.
Note that scratchings have really high odds amounts rather than scratched or 0. Haven't figured this out yet, but at least the odds are there. |
Thanks guys, will have a look at it all tonight:)
|
1 Attachment(s)
Thanks to Chrome Prince & Shaun
Ive uploaded a file for those interested to use as starting point. |
1 Attachment(s)
updated file to fix a date error
|
Looking at those 2 codes in the sheets shows me i was on the right path, a bit mixed with some code.
With this starting point you should be able to add anything that is needed to the code to extract data. |
This code includes the error handling for scratched horses
Hopefully this resolves your issue. I am also ripping this data from Unitab and it returns and processes it really fast in Excel. Combine it with a 'pull' of the Meetings List from Tab Racing's Live Odds Web Service and you can build a really quick tree navigation list box that can be used to get each race's details from Unitab's XML feed very efficiently and cleanly.
Code:
|
Hi All
This is my first post so Hello to all. I am very interested in what you guys are discussing here and have been playing around with similar code myself. I was wondering if any of you knew if there was a similar kind of xml feed for form for Australian races? I would be looking for say the last 10 races for each runner in a particular race. Cheers |
All times are GMT +10. The time now is 04:07 PM. |
Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.