Rename attribute parent_node to parent since the '_node' is used for lxml objects
Rename attribute 'value' to 'text' since it is the same for Event objects
Changing attribute which contains the raw text to 'text'
Forgot to change calls to attribute
Again
Added print_structure() method for debugging.