GeoXml - Read from URL Sample
This sample shows how to read a geospatial XML file that is hosted on the same domain as the application. If your data is hosted on another domain, you can use a proxy service similar to the GeoXmlLayer Cross Domain sample. The data is then manually added to the map rather than being loaded through a GeoXmlLayer. This provides the ability to full customize how the data is rendered and also provides the option to simply extract information from the data without having to render it.