XMLTest1 has some simple examples of traversing the DOM.