You need to sign in to do that
Don't have an account?
Simba
XMLStreamReader or XMDOM for parsing large response - which has better performance ?
I need to parse a really huge response. The response size is much more than 100,000 characters. Is it faster to user XMLStreamReader or XMLDom (the library created by salesforce person) in order to parse the whole response
Thanks
Regards
XMLDom has more functionality but if first needs to create an in-memory object representation of your entire XML Document (and that consumes enormous amounts of memory).
The StreamReader just goes over the data, looking at the tags it encounters one by one ...
-David
Makes full sense. Thanks a lot for clarifying that.
Warm Regards..