FujiNetWIFI / fujinet-firmware

8-bit systems to ESP32 WiFi Multifunction Firmware
https://fujinet.online
GNU General Public License v3.0
224 stars 69 forks source link

We need an XPath parser for XML. #444

Open tschak909 opened 3 years ago

tschak909 commented 3 years ago

We need an XPath parser of some sort that can be attached to any protocol (e.g. HTTP).

I did a video demonstration showing a possible interface for the XML parser, here: https://www.youtube.com/watch?v=0C23ffVWvkM This was done with older code, and was just a proof of concept

But maybe this is a jumping off point for a better idea?

-Thom

idolpx commented 3 years ago

TinyXML or maybe RapidXML would do the trick if they will compile for ESP32.

https://github.com/leethomason/tinyxml2 http://rapidxml.sourceforge.net/index.htm

idolpx commented 3 years ago

I don't think XPath is implemented in those two though. :(

idolpx commented 3 years ago

This might do the trick with TinyXML2 though. https://github.com/stanthomas/tinyxml2-ex