To deserve the label "XML inside" an application shall:
The last point relates to avoid problems of data loss when passing files
between programs. A round-trip beetwen programs A and B shall be feasible,
leading to a composite document having a common core of elements understood
by both programs, some elements understood by program A only, and some
by program B only.
Use XML for all exchanges of information:
- drag'n drop;
- configuration files;
- data files;
- network communications.
- Publish schemas for all these exchanges of information, or refer to well-known schemas.
- Not loose information that is not undestood .
A possible implementation is to keep the Document Object Model in memory.