+ Start a Discussion

Parse a XML file in Apex, S-control or anyway in salesforce

Hello All,

I have XML file which is store in my local server folder. I want read and parse it in to salesforce
development platform on click of S-control html button, as a part of my development. I am not sure How it will happen?

you can also suggest how I can make it more effective to parse XML?

Can anyone please help me out?

Thanks a lot in advance.


Once you've gotten the XML document into Salesforce.com, you can use Apex's XMLStreamReader class to parse it.  Have a look at it in the Apex docs:

Thanks  werewolf for your help :)

 Actually I am little busy with my other salesforce stuff so miss the thread.