xnode can now handle multiple events
New method attr
Updated README