receive serial xml data
-
I need to accept XML formatted data over a socket connection and place the data into a dataset for parsing. The XML data is bracketed by a start character and an end character, but may range from 50 bytes to thousands of bytes. The app will need to be in C/C++ any thoughts
-
I need to accept XML formatted data over a socket connection and place the data into a dataset for parsing. The XML data is bracketed by a start character and an end character, but may range from 50 bytes to thousands of bytes. The app will need to be in C/C++ any thoughts
You can use expat[^]. pros: -It is fast -has a small memory footprint, -and it comes with source code. cons: -it is not a validating parser. So you can't tell if the xml data is valid. -i don't know if it can read from stream/buffers, i used it only with files.( but you have the source... ;P) "I don't want to achieve immortality through my work... I want to achieve it through not dying." Woody Allen