Set up the structure for the code to get ready for XML parsing.