... object, and pass the file name to the domOne object. The domOne object creates aparser object, parses the document, thenprocesses the DOM tree (aka the Documentobject) via the printDOMTree ... listingFor the fragment on the left, here are the nodesreturned by the parser:1. The Document node2. The Element node corresponding to the <sonnet> tag3. A Text node containing the carriage ... domOne();d1.parseAndPrint(argv[0]);}Process the command line The code to process the command line is on the left. We check to see if the user entered anythingon the command line. If not, we print a usage noteand exit; otherwise,...