Utilities for traversing an XML DOM tree
