Using the xmldomevents class
...