Examples om.DomNode usage examples. Example 1: Creating a DOM treeExample 2: Displaying a DOM tree recursivelyExample 3: Writing a DOM tree to a SAX handler