A python class that creates a nested object that follows the structure of the xml document and its content.