+ Start a Discussion
salesusetosalesuseto 

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.

salesuseto.

werewolfwerewolf
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:

http://www.salesforce.com/us/developer/docs/apexcode/index.htm
salesusetosalesuseto
Thanks  werewolf for your help :)

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

 


~salestouse