# Load xml using xmlsockets

**URL:** <https://forum.kirupa.com/t/load-xml-using-xmlsockets/287705>\
**Category:** Uncategorized\
**Created:** [May 5, 2009, 1:42pm UTC](https://forum.kirupa.com/t/load-xml-using-xmlsockets/287705 "2009-05-05T13:42:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamthwee](https://avatars.discourse-cdn.com/v4/letter/i/ac91a4/32.png) [@iamthwee](https://forum.kirupa.com/u/iamthwee)\
**Post date:** [May 5, 2009, 1:42pm UTC](https://forum.kirupa.com/t/load-xml-using-xmlsockets/287705/1 "2009-05-05T13:42:42Z")

</div>

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!
