Add some interpretation to xmlhandler.py