-
Recent Posts
- Faster and Efficient Salesforce Deployment Steps Using the ANT Migration Tool
- System.TypeException: Invalid date in Salesforce
- Integrating Google Map Using New Spring 15 Visualforce Components
- Allow only positive numbers in textbox using javascript in salesforce
- How to Convert UTC Time Zone to User Time Zone in Salesforce
Recent Comments
Archives
Categories
Meta
Monthly Archives: April 2014
XML Parsing using DOM Parser in salesforce
Apex Class public class XMLParsing{ Public void parseXML(String xmlfile) { DOM.Document xmlDOC = new DOM.Document(); xmlDOC.load(xmlfile); DOM.XMLNode rootElement = xmlDOC.getRootElement(); System.Debug(‘$$$$ Root Element’+rootelement); for(DOM.XMLNode xmlNodeObj:xmlDOC.getRootElement().getChildElements()){ System.Debug(‘$$$ … Continue reading
Posted in Apex
Leave a comment