Adobe provides a series of useful XML documentation for learning why and how to employ XML in authoring and editing. Much of Adobe's documents are somehow related to its FrameMaker product; however, using FrameMaker is not necessary to benefit from reading several Adove XML documents. One such document--
Migrating from Unstructured to Structured FrameMaker--is a very informative vehicle for learning XML, and much of it can be adapted to other software tools other than FrameMaker.
Another useful Adobe document--
AdobeĀ® FrameMakerĀ® 7.1 Database Publishing--describes how XML can be employed with databases. Raw database information can be filtered using XML, which can be afterwards formatted specifically for a specific end use employing FrameMaker, MS Office, or OOo.