function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Developer129Developer129 

Best approach to use XML data

Hi,

 

I need to know what is the best approach for using XML data in salesforce. The situation I have is something like this, I have to use a XML file that is served by an external server and then use that data to make table in salesforce. Method of getting the XML file is simply by URL

 

Thanks

Best Answer chosen by Admin (Salesforce Developers) 
forcedotcomforcedotcom

Sounds like you'll want to check out the xmlstreamreader class - take a look at the link below

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_xml_XmlStream_reader.htm