A developer must create a program to parse a medium-sized XML file looking for an instance of a specific element. Once the developer has found the element, the value must be updated and saved to disk. Which two XML parsing APIs should be used in this situation? (Choose two.)
A.
DOM
B.
StAX
C.
JAXM
D.
SAAJ
B) is supposed to be SAX, DOM and SAX are two way of parsing XML.
SAAJ is security related architecture,
JAXM-WS(JAXM-RPC) or JAXM-RS are java api on xml of web service
A and B are the correct answers. StAX lets to read and write XML documents and is a good parser. DOM do the same, but loads all document in memory and may to consume a lot of memory.