You need to sign in to do that
Don't have an account?
Sfdc_beginner
How to read and parse an uploaded XML file
Hi There,
Please share me few examples of how to read an uploaded XML file , parse it and creating records using an Apex class.
Thanks in advance
SFDC Beginner
Hello,
You can parse XML data by using XmlStreamReader class. Refer following document:
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_xml_XmlStream_reader.htm
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_xml_dom.htm
Examples: http://salesforce.stackexchange.com/questions/12442/xml-parsing-using-xmlstreamreader