![[Back]](../images/back.gif)
APIs
DOM, So What?
- Standard generic object model and API for interacting with XML
- Convenient: makes entire XML dataset available
- Useful for generic processing of modest quantities of XML
- Too heavy-weight for efficient use with large amounts of XML
- In short: client-side technology, primarily
SAX, So What?
- Standard generic event-based API for processing XML data streams
- Useful for applications that do not need to or cannot keep entire document
in memory at once
- Useful for applications that want to build their own tuned objects
- Suitable for high-performance server-side processing
28
Copyright (c) 2001 Mary Holstege
All rights reserved.