TinyXML2 - Load from file with LittleFS

Hello, I have been using TinyXML2 to parse some XML files that contain transaction data from a cash register. After some growing pains using the library I have succeeded in parsing the data correctly and the way I want but have run into the size limit of char arrays (32767). I was thinking maybe I could load the file directly into TinyXML2 from LittleFS local storage (alternately pull it direct from an ftp server and skip copying to local storage). I have not been able to get it to work ie:

xmlDocument.LoadFile("/PJRXML.xml");

I am not sure it will even work at all but was hoping someone could offer some guidance. It is a rare case that one of these xml files would exceed 32767 but if I can accommodate those rare cases I would like to.

Anyone have experience with this?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.