AU logo CP13-3 Thinking outside the Box with ObjectDBX TM


XML

Extensible Markup Language, XML, is a strict "Tag Based" self-documenting language. It is a "MetaLanguage" - or a language that can describe other languages. It can be used to store any kind of structured information, and to enclose or encapsulate information making it an ideal medium to pass information between different computing systems that would otherwise be unable to communicate.

SAX

Simple API for XML, SAX, Sax is known as an active API. It will call methods or fire events as it moves through the document. It is a good method to parse large documents as the data becomes almost instantly available as different events are fired representing the "signposts" in the document, such as elements, text data, etc. SAX could be considered a "SAFE" method to access the underlying data in your projects since it does not allow modification of the XML document.

Examples:

Working with SAX and ADT Project (APJ) Files

Support Files for SAX Example: From Handout:

© Copyright Integr-8.com 2003. All rights reserved.