XML can define agreements, but can also help deal with chaos