dcsimg

How do I parse an XML document that is coming over a socket without writing it to a file first?

Corneanu Dan

You can use the socket's input stream(socket.getInputStream()) to create your input source.