DOM is a platform-and language-( )API that allows programs and scriptsu3to dynamically access and update the content, structure and style of WWW documentsu3(u3currently,definitions for HTML and XML documents are part of the specificationu3).Theu3document can be further processed and the results of that processing can beu3incoporporated back into the presented ( ).DOM is a ( )-based API tou3documents ,which requires the whole document to be represented in ( )whileu3processing it .A simpler alternative to DOM is the event –based SAX,which can beu3used to process very large( )documents that do not fit info the memoryu3available for processing.
( )