
2. The DOM Interface in Java
Write a class that reads an XML file and counts the number of children of the top level element. Follow the example of the class DOMTest on the course page.
Part of the document
Write a class that reads an XML file and counts the number of children of the top level element. Follow the example of the class DOMTest on the course page.