Allemang, Dean. Semantic Web for the Working Ontologist.. Elsevier, 2011.
At various points, I stopped to re-read a bunch of philosophy papers I'd not engaged with in a decade, took another stab at learning XML and RDF, and read Mark Baker's excellent book on the rhetoric of structured writing.
The main advantage of XML is that the tags can convey semantic meaning about the information inside them. Indeed, XML is the recommended way of expressing the subject-predicate-object items held inside triple store (or RDF) databases.