I have to send a large xml document from an android client to a server as a stream. I cannot use DOM parser due to memory constraints. I require something like a SAX parser, but SAX can only parse the data. Is there any library for this?
Thanks in advance.
Edit: I generate the xml data on the fly. I do not read from a file.