function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JBabuJBabu 

Need details on XML parser

Hi,

 

I wanted to know which xml parser is best method is it using DOM classes or XmlStreamReader?

And why one is preferred over the other?

 

Thanks,

Babu.

 

Best Answer chosen by Admin (Salesforce Developers) 
Ankit AroraAnkit Arora

Mentioned here are the pros and cons of using all type of parsing methods:

 

http://www.slideshare.net/abhinavguptas/parsing-xml-json-in-apex

 

This will answer your question for sure :-)

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

All Answers

Ankit AroraAnkit Arora

Mentioned here are the pros and cons of using all type of parsing methods:

 

http://www.slideshare.net/abhinavguptas/parsing-xml-json-in-apex

 

This will answer your question for sure :-)

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

This was selected as the best answer
JBabuJBabu
Thank you Ankit !!!