A DOM-based parser should be used for which of the following situations?
A. Need to modify the XML document directly
B. Performance and/or memory is an issue
C. Need to have random access to the components of the XML document
D. Only need to process the XML document sequentially
Answer:A
A DOM-based parser should be used for which of the following situations?
A. Need to modify the XML document directly B. Performance and/or memory is an issue C. Need to have random access to the components of the XML document D. Only need to process the XML document sequentially