KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: Difference between DOM and SAX
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: April 7, 2006

4th Dimension supports two kinds of parsing modes for XML documents: DOM (Document Object Model) and SAX (Simple API XML). DOM and SAX are different sets of XML commands for manipulating XML files. Both have different scopes and programming styles. Their characteristics offer advantages and disadvantages. In this technote, the differences between the two will be discussed. It will be shown how to create and parse XML documents in DOM and in SAX to emphasize their distinction. This technote will require a basic understanding of XML. You can check the technote "XML: An Introduction" for more information.

Download Complete Tech Note and Example: Windows | Mac