Programming with XML

When it comes time to incorporate XML into a proprietary application, a few widely available open-source implementations of XML Application Programming Interfaces (APIs) are available.

Without going into language specifics, the major XML APIs are either tree-based or event-based. Depending on your specific application, understanding the difference between these two API types can mean the difference between a successful and an unsuccessful development project.

Tree-Based APIs

Tree-based APIs, such as the W3C's Document Object Model (DOM), parse an entire XML document and store the resulting information in a memory-based tree structure. This tree structure is then made available to the client application. The client can traverse, ...

Get Strategic XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.