Reply
Trusted Contributor
JBabu
Posts: 380
0
Accepted Solution

Need details on XML parser

[ Edited ]

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.

 

Moderator
Ankit_Arora
Posts: 1,767

Re: Need details on XML parser

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

Force.com MVP
Certified Developer | Twitter


Don't forget to give KUDOS if post helped you.


Latest Blog Posts : Streaming API- Easy Code AND Uploading Multiple Attachments into Salesforce - Simple Code


If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.
Trusted Contributor
JBabu
Posts: 380
0

Re: Need details on XML parser

Thank you Ankit !!!