Hey all, I am new to the forums! Anyways, I had a few questions regarding how to properly parse XML using PuigXML on C++. I am developing a game, and I have some xml data that I need to be able to access and change values on the fly. I have done hours and hours of research, and haven't come up with anything! Here is an example of the XML I wish to parse.
That is just an example of the xml. I have tried using XPATH, such as "/Accounts/User/Balance", but this doesnt know which user to select. I have also tried using /Accounts/User[Which user to select]/Balance, but I cannot input a variable into the xpath. Lastly, I need to have a manageable way to properly edit the data and resave the file later. All of this should support a dynamic number of entries, since there is a question as to how many users will be present. Thanks, Drew.