Consultor Eletrônico



Kbase P88204: What are the two types of XML parsing technologies and what are their advantages/disadvantages?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/07/2004
Status: Unverified

GOAL:

What are the two types of XML parsing technologies and what are their advantages/disadvantages?

FIX:

SAX parser:
need not to process entire document in memory, may need multiple passes through document.

DOM parser :
entire document is in memory and ready to be processed in any way the application requires, could be a memory bottleneck.