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