Hello, I am using TinyXML http://mbed.org/users/wvd_vegt/libraries/TINYXML/lptpaw library to parse xml file loaded from SD card. The problem I found is that when I try to load file bigger than -+ 4KB. Program stops working in function which parses data from the file. Some data are loaded and assigned to variables but rest not. So I thought that it might be because whole file is loaded to memory and sits there until it is parsed.
File which I want to load is about 16 - 20KB in size :o(
I would like to ask You if there is any way how to parse this xml file without loading whole file to memory? Something like open file serch for node, this node load to memory and parse it?
If the above is not possible is there any other way or do I need something like externall RAM chip?
Can anybody please help me and point me to right direction?
I wanted to check to see if you got this resolved. I am looking at doing something similar with data collection XML files stored to a SD card or flash.
Sorry. I was chose bad thread... I don't know, how to delete this my post...
Please log in to post a reply.
mbed, the fastest way to prototype with ARM based microcontrollers.
^ back to top