|
|
To advertise on these forums, e-mail us. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Basic XML assistance
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. |
#2
|
|||
|
|||
Anyone?
|
#3
|
|||
|
|||
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.
__________________
RaceCensus - powerful system testing software. Now with over 412,000 Metropolitan, Provincial and Country races! http://www.propun.com.au/horse_raci...ng_systems.html *RaceCensus now updated to 31/12/2024 Video overview of RaceCensus here: http://www.youtube.com/watch?v=W821YP_b0Pg |
#4
|
|||
|
|||
Cheers Chrome, I know enough about VBA to be dangerous but ended up going around in circles trying to get this to work.
|
#5
|
|||
|
|||
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. |
#6
|
|||
|
|||
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.
__________________
RaceCensus - powerful system testing software. Now with over 412,000 Metropolitan, Provincial and Country races! http://www.propun.com.au/horse_raci...ng_systems.html *RaceCensus now updated to 31/12/2024 Video overview of RaceCensus here: http://www.youtube.com/watch?v=W821YP_b0Pg |
#7
|
|||
|
|||
Thanks guys, will have a look at it all tonight
|
#8
|
|||
|
|||
Thanks to Chrome Prince & Shaun
Ive uploaded a file for those interested to use as starting point. |
#9
|
|||
|
|||
updated file to fix a date error
|
#10
|
|||
|
|||
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. |
Thread Tools | Search this Thread |
Display Modes | |
|
|