In this tutorial we are going to learn how to extract the value of an attribute from an element of a parsed XML document. We are going to be using the Arduino core running on the ESP32. We will be using the TinyXML-2 library.
Tested on an ESP32 FireBeetle board from DFRobot: https://www.dfrobot.com/product-1590....
Previous introductory tutorial on the library: • ESP32 Arduino: Parsing XML
TinyXML-2 GitHub page: https://github.com/leethomason/tinyxml2
TinyXML-2 documentation page: http://leethomason.github.io/tinyxml2...
QueryIntAttribute documentation: http://leethomason.github.io/tinyxml2...