Load xml using xmlsockets

Hi,

At the moment I have the functionality to load an xml file using the xml loader class.

However, I wish to use xmlsockets to directly get an xml string from the server and load this.

Does anyone know how to do this.

Sample code is much appreciated!