Views +:= World of objects
API for XML: Domain Object Model
Views XML as object-oriented
Allows designing C++ or Java applications
E.g.:
- use subclass Promotion of XMLNode
- Catalog.promotions is only a set of virtual elements
- the list of promotions is generated on demand based on the nature of customers