Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We need an XPath parser for XML. #444

Open
tschak909 opened this issue Apr 17, 2021 · 3 comments
Open

We need an XPath parser for XML. #444

tschak909 opened this issue Apr 17, 2021 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@tschak909
Copy link
Collaborator

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
Copy link
Contributor

idolpx commented Apr 18, 2021

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
Copy link
Contributor

idolpx commented Apr 18, 2021

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

@idolpx
Copy link
Contributor

idolpx commented Apr 18, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants