The following topics discuss the benefits and tradeoffs of using SAX or DOM to process XML documents.