title: Listen for changes in a DOM structure
body: <p>Is there any standardized way (not language dependent, I need at least C++, Java and Ruby) of listening for changes in a DOM-document? I would like to have a function called every time a node's attributes change, a node gets renamed, deleted, etcetera.</p>
  
  <p>I found the Handlers for UserData, however those don't allow me to listen for e.g. changes in attribute. Right now it seems to me the only possibility is implementing my own DOM. Any ideas?</p>