XML parsers
An XML document is of no use if it cannot be manipulated programmatically. We need a parser
to read in an XML document and allow us to access all data contained in it.
- DOM (Document Object Model) - view document as a tree structure
- SAX (Simple API for XML) - event-driven, making use of callbacks