Core XML Processing - Parser to Application Communication
Two dominant standards:
- Simple API for XML (SAX)
- Event-based model ‘reads’ document to application handlers.
- Supported by nearly all Java XML parsers.
- developed by XML-Dev mailing list (SAX2 in dev.)
- Document Object Model (DOM)
- Tree-based model passes complete picture of document to application at processing conclusion
- Java, JavaScript, IDL descriptions; Perl implementation in independent development.
- developed by W3C. Level 1 complete, Level 2 in progress.