Decorated events with DOM attribute, started work on XML parser and improved HTMLDocument.