Proper way to parse XML using pugixml
问题 I have an XML file that I need to parse and I'm struggling with using PugiXML to parse out all elements and attributes. I have the following XML file: <?xml version = '1.0' encoding = 'UTF-8'?> <PanelList DefaultTheme="konami" > <Panel xpos="0" ypos="0" width="800" height="600" imagepath="./%THEME%/background_uga_large.png" name="AttractMode0" > <GameViewport xpos="0" ypos="0" width="630" height="526" name="gameviewport"/> <ValueLabel xpos="120" ypos="550" width="448" height="30" fontsize="18