Answer:
Both are used for the same purpose. These objects are used for read and write requirements of large XML documents.
They parses the XML document from top to bottom, i.e., the whole XML document need not to be processed in the memory, and that saves on processing requirements.
They process each XML element one at a time.
Asked In: Many Interviews |
Alert Moderator