I'm playing with Excel and the XML API from boardgamegeek, here is a sample page https://www.boardgamegeek.com/xmlapi2/thing?id=230802&stats=1
I already know how to use the functions webservice and filterxml to access to the tags and data, for example I can use //item/name/@value for the name or //item/poll[@name="language_dependence"]/results/result[ 1 ]/@numvotes for the first item on the language dependency poll (without spaces into the brackets)
However I couldn't do the following
- I want to apply the max function to find which poll item has the max number of votes, in this example should be "No necessary in-game text", when I try Excel throws me a value error
- The numeric values with decimals like //item/statistics/ratings/averageweight/@value are being showed like integers in Excel like in the image
Thanks for your help