+ 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