Need help for XML file parser
Need help for XML file parser
Hi,
We are using ESP32 IDF 2.1 latest release for my development purpose and we need to store XML file and also parse it.
To store XML file, we are going to use SPIFFS which we have verified before as well.
But, we need xml library or parser code to parse it as per project Requirement.
Please let me know link or informations regarding that if anyone has ported and used with well tested before.
We are using ESP32 IDF 2.1 latest release for my development purpose and we need to store XML file and also parse it.
To store XML file, we are going to use SPIFFS which we have verified before as well.
But, we need xml library or parser code to parse it as per project Requirement.
Please let me know link or informations regarding that if anyone has ported and used with well tested before.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Need help for XML file parser
Thanks for providing Links. I will check and let you know if any issue or need any further help for that.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Need help for XML file parser
Hi,
We have checked libexpat component into ESP32 IDF and found that it is used to parse XML file and its components. So that can be used for XML file parse.
But we have also requirement to create XML file and as well as to update XML file based on Request.
SO, Does anyone has any idea for any other library or external component to do it?
We have checked libexpat component into ESP32 IDF and found that it is used to parse XML file and its components. So that can be used for XML file parse.
But we have also requirement to create XML file and as well as to update XML file based on Request.
SO, Does anyone has any idea for any other library or external component to do it?
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Need help for XML file parser
Hi Espressif System Developers or Loboris,
Does any one has any idea regarding requirement which I have raised in my last comment?
We need to parse as well as create XML file and update it according to request which can not fulfilled using libexpat component.
Please let me know if anyone has any idea or information regarding that so that it will be helpful for us to move ahead into our project.
Does any one has any idea regarding requirement which I have raised in my last comment?
We need to parse as well as create XML file and update it according to request which can not fulfilled using libexpat component.
Please let me know if anyone has any idea or information regarding that so that it will be helpful for us to move ahead into our project.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Need help for XML file parser
XML structure is quite simple, it should be easy to create the xml file 'manually', if you don't need very complex xml.
Re: Need help for XML file parser
A search of the phrase "embedded xml c" resulted in a few hits. This one appears to have both parser and constructor:
http://michaelrsweet.github.io/mxml/
http://michaelrsweet.github.io/mxml/
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: Need help for XML file parser
Thanks for Reply.loboris wrote:XML structure is quite simple, it should be easy to create the xml file 'manually', if you don't need very complex xml.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Need help for XML file parser
Thanks for Reply.kolban wrote:A search of the phrase "embedded xml c" resulted in a few hits. This one appears to have both parser and constructor:
http://michaelrsweet.github.io/mxml/
Yes. We have started to port mxml library for same and started to work for that.
Regards,
Ritesh Prajapati
Ritesh Prajapati
Re: Need help for XML file parser
how you include the mxml component .i'm using eclipse ide. i'm trying to add this component under a component section.Ritesh wrote: ↑Tue Nov 21, 2017 12:21 pmThanks for Reply.kolban wrote:A search of the phrase "embedded xml c" resulted in a few hits. This one appears to have both parser and constructor:
http://michaelrsweet.github.io/mxml/
Yes. We have started to port mxml library for same and started to work for that.
wrote cmake for it.
Code: Select all
set(COMPONENT_REQUIRES )
set(COMPONENT_ADD_INCLUDEDIRS )
set(COMPONENT_SRCDIRS mxml-3.3.1
vcnet
)
set(COMPONENT_NAME ".")
register_component()
Who is online
Users browsing this forum: Google [Bot], ok-home and 351 guests